RE:Kill a process

2002-02-07 Thread Jorge Goncalvez
HI, I wanted to kill a process INETD by code:by hand in the cygwin bash i tried this: ps |awk '/INETD/{print $1}'|xargs kill and it works, now i wanted to do it by Perl code: I tried: system(" c:\\cygwin\\bin\\bash.exe('ps |awk '/INETD$/{print $1}|xargs kill')") or system("c:\\cygwin\\bin\\ps.exe

RE:Kill a process

2001-11-16 Thread Jorge Goncalvez
Hi, I wonder how can I know if a process for exemple dhcpd is running and if it is how can I kill it in Perl. Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]