Message151438
No. On Windows the only way to start a new executable is to create a new process (with the CreateProcess function, which all spawn* and exec* functions ultimately call), and this yields a new PID.
This is a fundamental difference with unix, where the only way to create a process is to clone the current one with fork().
And yes, this makes launchers more difficult to write on Windows. For a discussion see the paragraph "Process Launching" in http://www.python.org/dev/peps/pep-0397/ |
|
Date |
User |
Action |
Args |
2012-01-17 10:04:29 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, pitrou, tim.golden, brian.curtin, Amaury.Forgeot.d'Arc, kayhayen |
2012-01-17 10:04:29 | amaury.forgeotdarc | set | messageid: <1326794669.4.0.279471404011.issue13792@psf.upfronthosting.co.za> |
2012-01-17 10:04:28 | amaury.forgeotdarc | link | issue13792 messages |
2012-01-17 10:04:28 | amaury.forgeotdarc | create | |
|