This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: How to stop Inetd
- From: Jorge Goncalvez <goncal11 at col dot bsf dot alcatel dot fr>
- To: cygwin at cygwin dot com
- Date: Thu, 7 Feb 2002 14:28:35 +0100 (MET)
- Subject: Re: How to stop Inetd
- Reply-to: Jorge Goncalvez <goncal11 at col dot bsf dot alcatel dot fr>
It didn't work but i tried this that worked from hand in the bash cygwin:
ps |awk '/INETD/{print $1}'|xargs kill
but unfortunately by Perl code it didn't:
I tried:
system(" c:\\cygwin\\bin\\bash.exe('ps |awk '/INETD$/{print $1}|xargs kill')")
or
system("c:\\cygwin\\bin\\ps.exe |c:\\cygwin\\bin\\awk.exe '/INETD/{print
$1}'|c:\\cygwin\\bin\\xargs.exe c:/cygwin/bin/kill.exe");
neither by replacing \\ by /.
Thanks
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/