I may be out of touch with the answer you need. Some C programming is
involved. I am assuming that when kvoicecontrol starts a process it
should be able to grab the id of the process and pass it back to you as
an int (I may be wrong on the datatype here, don't have my books handy)
which you can put in an array. Later, you walk through the array
turning off the programs one by one.
If the C programming isn't possible you may need to look through the
kvoicecontrol docs to see if it remembers what it starts as processes
and see if it has any way for recalling the processes it's responsible
for and stopping them.
My solution may be overkill considering my lack of direct knowledge of
kvoicecontrol.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sevatio Octavio
Sent: Sunday, March 19, 2000 10:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] How To Kill An Application From Command Line?
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
>
>