delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=J86GzKFiiTZAhrYMHvj8TEGbp9hID1sg2gfTI3gU5/C8vxjY3IGzt | |
muwZF878NYXQuuLOn2FZfixXAerYv5onGYK4Fp2x2mFiHKhNB31prpdKATkQzqA4 | |
BGE+6TXQ1ot/3BO6+cThXwGPFqmCKKjYn50UK10uXjP297FZOAlDsM= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=227Weq3mmX86i8Kf/zwRh362GNA=; b=qEhgWS1kQXuZICUAxqfz/y7FIFiQ | |
piGAhZ0hbwJRTfNVveo/9xejawuBjmIHs1o7C5RAvNqSGSgzBxOQXbfpDIGccVbu | |
/ot2CUI2QQZchxHs98sscbO0rIPwth8dfs7VUXR2Ouv4CJpecB4wXGgzprj3zUyv | |
4dIyygPEFk7gucw= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
X-Spam-SWARE-Status: | No, score=0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RDNS_NONE autolearn=no version=3.3.1 |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX19UtoFvlUDJV/uaiwa2iXHO |
Date: | Thu, 25 Jul 2013 11:10:50 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Process command lines for Cygwin processes no longer viewable in Windows task manager as of Cygwin 1.7.21 |
Message-ID: | <20130725151050.GA6932@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <51F08F9D DOT 6020606 AT coverity DOT com> <20130725082814 DOT GA5124 AT calimero DOT vinschen DOT de> <51F1265B DOT 1040704 AT cwilson DOT fastmail DOT fm> <51F133E4 DOT 6040506 AT coverity DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <51F133E4.6040506@coverity.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
On Thu, Jul 25, 2013 at 10:19:16AM -0400, Tom Honermann wrote: >On 07/25/2013 09:21 AM, Charles Wilson wrote: >> On 7/25/2013 4:28 AM, Corinna Vinschen wrote: >>> On Jul 24 22:38, Tom Honermann wrote: >>>> My suspicion that this started with 1.7.21 is based on Corinna's >>>> comments in http://cygwin.com/ml/cygwin/2013-07/msg00343.html and >>>> other anecdotal evidence of new problems occurring as of that >>>> release. >>> >>> This is by design now as described in the aforementioned posting. If >>> you want to see the command line of a Cygwin application called by >>> another Cygwin application, see /proc/$pid/cmdline. >> >> Would a patch to restore the previous operation based on a $CYGWIN >> variable setting be acceptable? > >I think this change should be reverted. You were relying on a bug in Cygwin. Older versions of the DLL did not provide the full command line. It was only after the bug entered into the source code that it did. Not providing the windows command line is an optimization for Cygwin programs. >In my case, I need to be able to retrieve the command line for a Cygwin >process from a non-Cygwin process. Reading /proc/$pid/cmdline is not an >option in that case. I depend on the ability to, for example, >differentiate gcc processes that are running based on their command line >options. > >Note that strace is currently broken as well. Running it against a >'make' invocation: It's not strace that's broken. That's just a simple fix to the DLL. 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |