Re: Help understanding process tree

2005-04-29 Thread Earl Chew
Earl Chew wrote: I'd like help understanding why Process Explorer shows cygwin child processes as orphans, but win32 child processes as children. How is this so? I think I've discovered the reason for this is that during the fork/exec, the child that does the exec is discarded and replaced with a n

Re: Help understanding process tree

2005-04-29 Thread Christopher Faylor
On Fri, Apr 29, 2005 at 11:01:42AM -0400, Christopher Faylor wrote: >On Fri, Apr 29, 2005 at 12:26:32AM -0700, Yitzchak Scott-Thoennes wrote: >>On Thu, Apr 28, 2005 at 11:02:58AM -0400, Christopher Faylor wrote: >>> On Thu, Apr 28, 2005 at 07:28:05AM -0700, Earl Chew wrote: >>> >I'm working on a cy

Re: Help understanding process tree

2005-04-29 Thread Christopher Faylor
On Fri, Apr 29, 2005 at 12:26:32AM -0700, Yitzchak Scott-Thoennes wrote: >On Thu, Apr 28, 2005 at 11:02:58AM -0400, Christopher Faylor wrote: >> On Thu, Apr 28, 2005 at 07:28:05AM -0700, Earl Chew wrote: >> >I'm working on a cygwin problem and have been looking at the Win32 >> >process tree structu

Re: Help understanding process tree

2005-04-29 Thread Corinna Vinschen
On Apr 29 00:44, Brian Dessent wrote: > To the original poster... Try "procps aux --forest" if you want an > accurate picture of the Cygwin process tree, since procps is a Cygwin > program and thus will use Cygwin PIDs. pstree from the psmisc package prints nice process trees as well (as the name

Re: Help understanding process tree

2005-04-29 Thread Brian Dessent
Yitzchak Scott-Thoennes wrote: > > Right. cmd is a non-cygwin program so it needs a cygwin stub to handle > > being "execed". sleep is a cygwin program and does not require any > > hand holding. > > Now go back and reread the sentence where he says "I'd like help > understanding why..." :) I w

Re: Help understanding process tree

2005-04-29 Thread Yitzchak Scott-Thoennes
On Thu, Apr 28, 2005 at 11:02:58AM -0400, Christopher Faylor wrote: > On Thu, Apr 28, 2005 at 07:28:05AM -0700, Earl Chew wrote: > >I'm working on a cygwin problem and have been looking at the Win32 > >process tree structure using Process Explorer from Sysinternals: > > > >http://www.sysinternals.c

Re: Help understanding process tree

2005-04-28 Thread Christopher Faylor
On Thu, Apr 28, 2005 at 07:28:05AM -0700, Earl Chew wrote: >I'm working on a cygwin problem and have been looking at the Win32 >process tree structure using Process Explorer from Sysinternals: > >http://www.sysinternals.com/ntw2k/freeware/procexp.shtml > >I'd like help understanding why Process Exp

Help understanding process tree

2005-04-28 Thread Earl Chew
I'm working on a cygwin problem and have been looking at the Win32 process tree structure using Process Explorer from Sysinternals: http://www.sysinternals.com/ntw2k/freeware/procexp.shtml I'd like help understanding why Process Explorer shows cygwin child processes as orphans, but win32 child proc