delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/07/08:29:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <200202071328.OAA03229@cabs40.col.bsf.alcatel.fr>
Date: Thu, 7 Feb 2002 14:28:35 +0100 (MET)
From: Jorge Goncalvez <goncal11 AT col DOT bsf DOT alcatel DOT fr>
Reply-To: Jorge Goncalvez <goncal11 AT col DOT bsf DOT alcatel DOT fr>
Subject: Re: How to stop Inetd
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019