using shell() to kill app on XP Home?

Dar Scott dsc at swcp.com
Fri May 27 18:24:24 EDT 2005


On May 27, 2005, at 3:14 PM, Phil Davis wrote:

> To use Rev's 'kill' in this situation, I'll need to get the process 
> name from outside Rev (and then I'm not sure if it'll be what Rev is 
> looking for, but that's a different issue). That leads me back to 
> shell(), since my helper app doesn't show up in 'the openProcesses'. 
> Still, if I can find a way to get the PID at app start time and 
> preserve it until needed for 'kill', that would be preferable to 
> everything else. I'll keep working on it.

You can try 'open process ... for neither' to run it (no "start" 
needed).  And then 'close process'.  I had trouble with 'open process' 
in the olden days and don't use it, but 'for neither' might not have 
those problems.

Dar

-- 
**********************************************
     DSC (Dar Scott Consulting & Dar's Lab)
     http://www.swcp.com/dsc/
     Programming and software
**********************************************



More information about the use-livecode mailing list