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/