X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 24 Apr 2009 09:52:39 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: pstree on windows xp - find process spawned from windows 	process
Message-ID: <20090424075239.GA8722@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <23197461.post@talk.nabble.com> <49F0B2B9.7000804@cygwin.com> <23205009.post@talk.nabble.com> <49F0E6B3.7030607@cygwin.com> <op.usu3drb81e62zd@merlin.emma.line.org> <49F125A2.20400@cygwin.com> <23211293.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <23211293.post@talk.nabble.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

