RE: problems in Perl process management

2005-05-24 Thread Sonam Chauhan
> I guess I'll wait for the second, third, and fourth time for everything > before I start getting really worried. As you like. > >>It seems to me that it would be a lot easier to work around in the perl > >>module. > > > >Can you suggest any other CW_... query that would report on PIDs > >accur

Re: problems in Perl process management

2005-05-24 Thread Christopher Faylor
On Wed, May 25, 2005 at 02:41:28PM +1000, Sonam Chauhan wrote: >cgf wrote: >>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. > >There's a first time for everything. I guess I'll wait for the second, third,

RE: problems in Perl process management

2005-05-24 Thread Sonam Chauhan
Chris: > >> >ps -W will also not always properly report on execed processes in > >> ^ > >> >general. Since ps -W uses CW_GETPINFO_FULL, ... > >Won't it be better fixing this bug, than fixing 'Proc::ProcessTable' and > > 'ps -W' and all

Re: problems in Perl process management

2005-05-24 Thread Christopher Faylor
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

RE: problems in Perl process management

2005-05-24 Thread Sonam Chauhan
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_FUL

Re: problems in Perl process management

2005-05-24 Thread Christopher Faylor
On Tue, May 24, 2005 at 05:11:00PM +1000, Sonam Chauhan wrote: >Hi - Asking again since I didn't get a response... You got a response before you asked the question. demonstrated by my testcase script), the CW_GETPINFO_FULL query returns: 1. Invalid PPIDs >>> >>>Only PPIDs for cygwin pro

RE: problems in Perl process management

2005-05-24 Thread Sonam Chauhan
am Chauhan -- Electronic Commerce, Corporate Express Australia Ltd. Phone: +61-2-9335-0725, Email: [EMAIL PROTECTED] <*> Testcase attached to bug report filed here: http://rt.cpan.org/NoAuth/Bug.html?id=12840 > -----Original Message- > From: Sonam Chauhan > Sent: Wednesday, 18 May 2005 3:32

RE: problems in Perl process management

2005-05-19 Thread Sonam Chauhan
Yitzchak: sorry this reply is late. > I just reread the whole thread three times, and fail to detect any > rudeness from him. He did confess to being "flip", though. (I thought > it was just an attempt at humor.) http://dictionary.reference.com/search?q=flip > > > > I also notice that deeper

RE: problems in Perl process management

2005-05-17 Thread Sonam Chauhan
Thanks for raising 'ps -W' behavior Chris. It is interesting. > >From what I gather, the root problem is that for some processes (as > >demonstrated by my testcase script), the CW_GETPINFO_FULL query returns: > >1. Invalid PPIDs > > Only PPIDs for cygwin processes are returned. Everything else s

Re: problems in Perl process management

2005-05-17 Thread Christopher Faylor
On Wed, May 18, 2005 at 01:01:48PM +1000, Sonam Chauhan wrote: >Reini: > >[Note, I'm no Cygwin expert, so please correct any misunderstandings.] > >> >>or fix it in this module XS. It's really easy with the cygwin provided >> >>translation functions. >> >> See http://sourceware.org/ml/cygwin/2005

RE: problems in Perl process management

2005-05-17 Thread Sonam Chauhan
Reini: [Note, I'm no Cygwin expert, so please correct any misunderstandings.] > >>or fix it in this module XS. It's really easy with the cygwin provided > >>translation functions. > >> See http://sourceware.org/ml/cygwin/2005-02/msg00154.html ... > > After all, Proc::ProcessTable misreports the

Re: problems in Perl process management

2005-05-17 Thread Reini Urban
Sonam Chauhan schrieb: Reini - Thanks for replying man. I didn't complain yet upstream at rt.cpan.org because I wanted to wait for our 5.8.7 release. But you can do it by yourself also, OK, I'm not that talented, so I didn't try fixing this bug, but I did report it with a better testcase here:

RE: problems in Perl process management

2005-05-15 Thread Sonam Chauhan
Electronic Commerce, Corporate Express Australia Ltd. Phone: +61-2-9335-0725, Email: [EMAIL PROTECTED] > -Original Message- > From: Reini Urban [mailto:[EMAIL PROTECTED] > Sent: Sunday, 15 May 2005 2:32 AM > To: 'cygwin@cygwin.com' > Cc: Sonam Chauhan > Subject

Re: problems in Perl process management

2005-05-14 Thread Reini Urban
Sonam Chauhan schrieb: I had thought Gerrit would release a new 5.8.6 with them, but this doesn't seem to have happened; don't know if I somehow dropped the ball on that. In any case, I'm really really hoping that 5.8.7 is released in the next few weeks. I don't know anything about problems with P

Re: problems in Perl process management

2005-05-13 Thread Yitzchak Scott-Thoennes
On Fri, May 13, 2005 at 05:53:07AM -0700, Yitzchak Scott-Thoennes wrote: > Earlier topquoting somewhat reformated. Apologies for not trimming the tail end of that (including email addresses). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.c

Re: problems in Perl process management

2005-05-13 Thread Yitzchak Scott-Thoennes
ear from the > people originally discussing it (Reini, Yitzchak, etc.) If you can help with > this issue - great. > > Regards, > Sonam Chauhan > -- > Electronic Commerce, Corporate Express Australia Ltd. > Phone: +61-2-9335-0725, Email: [EMAIL PROTECTED] > > >

Re: problems in Perl process management

2005-05-13 Thread Yitzchak Scott-Thoennes
On Fri, May 13, 2005 at 07:11:23PM +1000, Sonam Chauhan wrote: > Can you confirm whether your patch addresses a problem Reini reported your > thread in Feb? It was this message: > http://sourceware.org/ml/cygwin/2005-02/msg00224.html > ...where Reini said: > > > But the cygwin pid's seem to

RE: problems in Perl process management

2005-05-13 Thread Sonam Chauhan
Yitzchak: > I had thought Gerrit would release a new 5.8.6 with them, but this > doesn't seem to have happened; don't know if I somehow dropped the > ball on that. In any case, I'm really really hoping that 5.8.7 is > released in the next few weeks. > > I don't know anything about problems with

Re: problems in Perl process management

2005-05-12 Thread Yitzchak Scott-Thoennes
On Wed, May 11, 2005 at 01:19:14PM +1000, Sonam Chauhan wrote: > Hello to Reini Urban and Yitzchak Scott-Thoennes if you're seeing this. > > Reine, Yitzchak - Back in Feb, you had a discussion: > http://sourceware.org/ml/cygwin/2005-02/msg00224.html > Do you think the issue below

Re: problems in Perl process management

2005-05-12 Thread Yitzchak Scott-Thoennes
On Wed, May 11, 2005 at 11:18:16AM -0400, Christopher Faylor wrote: > bearing on the statement "However, I also notice that deeper forked > processes (grandchildren) refuse to die. This script is only run using > ActiveState Perl". If someone is talking about "fork" on windows in a > cygwin maili

RE: problems in Perl process management

2005-05-11 Thread Sonam Chauhan
. I was hoping to hear from the people originally discussing it (Reini, Yitzchak, etc.) If you can help with this issue - great. Regards, Sonam Chauhan -- Electronic Commerce, Corporate Express Australia Ltd. Phone: +61-2-9335-0725, Email: [EMAIL PROTECTED] > -----Original Message- > From:

Re: problems in Perl process management

2005-05-11 Thread Christopher Faylor
On Wed, May 11, 2005 at 04:24:56PM +1000, Sonam Chauhan wrote: >Christopher - >>Yes, if you send a "kill -9" to a pid that shows up in ps but is >>associated with a non-cygwin process, it should work. > >So what me and Jurgen were discussing works, and you were wrong. >Thanks for revisiting your p

RE: problems in Perl process management

2005-05-10 Thread Sonam Chauhan
Christopher - > Yes, if you send a "kill -9" to a pid that shows up in ps but is > associated with a non-cygwin process, it should work. So what me and Jurgen were discussing works, and you were wrong. Thanks for revisiting your point after your earlier rudeness. Regards, Sonam Chauhan -- El

Re: problems in Perl process management

2005-05-10 Thread Christopher Faylor
On Tue, May 10, 2005 at 11:22:49PM -0400, Christopher Faylor wrote: >On Wed, May 11, 2005 at 01:19:14PM +1000, Sonam Chauhan wrote: >>Hi Christopher - >>your response to Jurgen had mentioned: >>> ActiveState perl is a windows program. You can't send cygwin (aka unix) >>> signals to a windows pror

Re: problems in Perl process management

2005-05-10 Thread Christopher Faylor
On Wed, May 11, 2005 at 01:19:14PM +1000, Sonam Chauhan wrote: >Hi Christopher - >your response to Jurgen had mentioned: >> ActiveState perl is a windows program. You can't send cygwin (aka unix) >> signals to a windows proram. >This should be possible if the ActiPerl Windows executable was execu

RE: problems in Perl process management

2005-05-10 Thread Sonam Chauhan
onam Chauhan -- Electronic Commerce, Corporate Express Australia Ltd. Phone: +61-2-9335-0725, Email: [EMAIL PROTECTED] > -Original Message- > From: Jurgen Defurne [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 10 May 2005 9:12 PM > To: Sonam Chauhan > Cc: cygwin@cygwin.com

Re: problems in Perl process management

2005-05-10 Thread Christopher Faylor
On Tue, May 10, 2005 at 01:12:05PM +0200, Jurgen Defurne wrote: >I also would like to know if it is possible. > >However, it could be that it has nothing to do with Cygwin. I have >a Perl script which forks several children and monitors their output. > >If a child fails, then it has no use to run a

Re: problems in Perl process management

2005-05-10 Thread Steven Hartland
that's by design if u want to kill an entire tree u can do so with process explorer a free download from www.sysinternals.com. Steve - Original Message - From: "Jurgen Defurne" I also would like to know if it is possible. However, it could be that it has nothing to do with Cygwin. I h

Re: problems in Perl process management

2005-05-10 Thread Jurgen Defurne
I also would like to know if it is possible. However, it could be that it has nothing to do with Cygwin. I have a Perl script which forks several children and monitors their output. If a child fails, then it has no use to run all forked processes further and I kill them with the perl 'kill' comma