using shell() to kill app on XP Home?

MisterX b.xavier at internet.lu
Wed May 25 14:31:16 EDT 2005


Hi Phil,

try pskill from sysinternals.com. 

Include it in your package (w2k, wxp, w2k3 compatible).
They have a separate version for w9x.

It in their psTools for windows.

Alternative are in the NTResKit and W98Reskit (tskill i think)

cheers
Xavier
 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Phil Davis
> Sent: Wednesday, May 25, 2005 20:21
> To: Rev List
> Subject: OT: using shell() to kill app on XP Home?
> 
> Hi people,
> 
> At startup, my Rev-based app uses 'shell()' to start a faceless
> (non-GUI) helper app which runs in the background the entire 
> time my Rev app is running.
> 
> When the Rev-based app quits, I want to kill the helper app. 
> On XP Pro, I see that I can use shell commands to do what I want:
> 
>    - 'tasklist' lists all processes so I can get the processID
>      of my helper app.
> 
>    - 'taskkill' lets me kill it.
> 
> On XP Home, however, these commands don't seem to be 
> available. Does anyone know of any other commands I can use 
> to kill my helper app?
> 
> Thanks a bunch.
> 
> Phil Davis
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list