Kill a process in OS X?

Ken Ray kray at sonsothunder.com
Thu Jun 24 13:49:18 EDT 2004


I'm in a situation where there's a process running that I need to kill (OS X
10.3). If I do it through the terminal with 'sudo kill -9 <pid>', it asks me
for the password in the terminal, and after I've entered it, it is killed. I
need to move that functionality into a Rev stack and sending the 'sudo kill'
through shell() is a no-brainer, but how to I send the password along with
it so that it can do everything I was doing in the terminal?

Thanks for anyone's help,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/




More information about the use-livecode mailing list