dont know much about osx shells but this should work do a shell script like
put "su root p:******"&cr & "kill -9 <pid>" get shell(it) su logs you in as superuser... you must know the root pw though... X > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Ken Ray > Sent: Thursday, June 24, 2004 19:49 > To: 'How to use Revolution' > Subject: Kill a process in OS X? > > > 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: [EMAIL PROTECTED] > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
