[Python-bugs-list] [ python-Bugs-537582 ] incorrect pid returned from os.spawn

noreply@sourceforge.net noreply@sourceforge.net
Sun, 31 Mar 2002 18:42:23 -0800


Bugs item #537582, was opened at 2002-04-01 02:42
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=537582&group_id=5470

Category: Windows
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: alastair nicol (ajnicol)
Assigned to: Tim Peters (tim_one)
Summary: incorrect pid returned from os.spawn

Initial Comment:
The pid returned from the os.spawnv and os.spawnl method
is incorrect.

This can be easily demostrated by swawning a python
prog containing "time.sleep(100000)". The pid returned
by spawn isnt the same as the pid as reported by task
manager. 

I have only tried this with os.spawnl and os.spawnv

For example:-
spawnv reported pid=92
windows reported pid=1484

Software:
Python 2.2 (downloaded .exe from python.org)
Windows 2000 Pro

Al

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=537582&group_id=5470