This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pstree on windows xp - find process spawned from windows process


On Apr 24 00:27, nachum wrote:
> Regarding forking - you can see from my first post that bitgen is spawning a
> new process / PID and there is no way that I've found within cygwin to
> identify which program is the parent of the new fork. PID 504 is the new

Sure.  It's a native Windows process, not a Cygwin process.  For Cygwin
to keep track of processes the parent has to call the POSIX functions
fork/exec, not the native Windows call CreateProcess.  The Win32 API has
no functions to identify a parent/child relationship between processes,
btw.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]