Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 25 May 2005 00:07:35 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: problems in Perl process management Message-ID: <20050525040735.GD27382@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <55E0A3E94323974F83CFC5AAB96F68B80149CA47 AT snnexc03 DOT in DOT ce DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55E0A3E94323974F83CFC5AAB96F68B80149CA47@snnexc03.in.ce.com.au> User-Agent: Mutt/1.5.8i On Wed, May 25, 2005 at 09:45:50AM +1000, Sonam Chauhan wrote: >Please clarify so I understand better. > >Are you saying that since... > >> >ps -W will also not always properly report on execed processes in >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >general. Since ps -W uses CW_GETPINFO_FULL, >> > ... > >... by implication, CW_GETPINFO_FULL does not report on execed >processes properly. Now you're getting it. >If this is the case, isn't this a bug in CW_GETPINFO_FULL? > >Won't it be better fixing this bug, than fixing 'Proc::ProcessTable' and 'ps >-W' and all the other programs that uses CW_GETPINFO_FULL? There is no reference implementation which would specify that the behavior which I noted was incorrect. "CW_GETPINFO_FULL" was implemented for "ps -W". I don't believe I've ever heard anyone complaining about the way this works in "ps -W" or in "all of the other programs" which use this. If you want to submit a patch which changes this behavior, I'll certainly review it promptly. I don't believe that it would be trivial to do, however. It seems to me that it would be a lot easier to work around in the perl module. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/