Wow, that damned-near blew off my toup�e!  Seriously, how would you get it to get the 
pid for each program and store into an array?

Seve

-----Original Message-----
From: Ken Wilson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, March 19, 2000 9:31 PM
Subject: RE: [expert] How To Kill An Application From Command Line?


>The typical command for killing something from the command line is
>
>   kill -9 <pid>
>
>You will need to know the program id to shut it down this way.  As you
>are already using kvoicecontrol to start the programs you could have it
>get the pid for each program when it does and store them in an array.
>It could then run through the array shutting them down later.
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Sevatio Octavio
>Sent: Sunday, March 19, 2000 8:10 PM
>To: [EMAIL PROTECTED]
>Subject: [expert] How To Kill An Application From Command Line?
>
>
>Is there a general rule for killing an application from the command
>line?  For example, I'm using kvoicecontrol to activate programs
>and I would like to tell it to shutdown the programs also.
>
>Thanks
>Seve
>
>

Reply via email to