* Re: How to stop Inetd
@ 2002-02-07 5:28 Jorge Goncalvez
0 siblings, 0 replies; 2+ messages in thread
From: Jorge Goncalvez @ 2002-02-07 5:28 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to stop Inetd
2002-02-07 2:42 Jorge Goncalvez
@ 2002-02-07 4:21 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2002-02-07 4:21 UTC (permalink / raw)
To: cygwin
On Thu, Feb 07, 2002 at 11:42:03AM +0100, Jorge Goncalvez wrote:
> hi, I wonder how to stop Inetd in Win 9x by perl code:
> In WiNNT, I have :
> my $cmd="net stop inetd";
> system($cmd);
kill `ps -e | awk '/inetd$/{print $1}'`
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-07 13:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-07 5:28 How to stop Inetd Jorge Goncalvez
-- strict thread matches above, loose matches on Subject: below --
2002-02-07 2:42 Jorge Goncalvez
2002-02-07 4:21 ` How " Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).