delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/22/17:59:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 22 Jan 2010 17:59:27 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Why require ps -W and kill -f
Message-ID: <20100122225927.GB1156@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <050f01ca9b07$df859370$9e90ba50$@com> <416096c61001212102q8b38104s814fd15688957d3a AT mail DOT gmail DOT com> <057e01ca9ba9$c9d6b430$5d841c90$@com>
MIME-Version: 1.0
In-Reply-To: <057e01ca9ba9$c9d6b430$5d841c90$@com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Jan 22, 2010 at 01:28:05PM -0800, Don Beusee wrote:
>People don't care about implementation details.  They care about what
>is running on the system (the WHOLE system).  They want kill and ps to
>show what's running on the system, not what cygwin "thinks" is running.
>Since exec() creates a new process on windows, that's more relevant for
>these tools.

You're missing the point.  kill DOESN'T WORK with windows process unless
you want to summarily terminate a process.  The built-in kill in the
shells that are in the distribution won't work with pure Windows process
at all.

>How about let the user control how this works without having to change
>scripts or typing habits?  Can you add a new option via the CYGWIN
>environment variable, something like [no]allprocs which kill and ps can
>look at instead of -f and -W options (although you can keep those for
>compatibility with existing cygwin releases)?  Of course, I think the
>default behavior should be allprocs, since I believe almost all users
>will prefer this behavior.

Sorry but it doesn't work this way.  You don't go to a mailing list,
argue for a feature and then, when people disagree and try to explain,
suggest that those people should implement something for you.

It's a free software project.  If you think this is a good idea then
show us the code.  If you don't have the skills to make the necessary
modifications then you'll just have to live with the current
implementation because, I can assure you, that I don't agree with your
point of view and I, as the author of most of the process code, will not
be making any changes to it to accommodate your wishes.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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