Message151438
| Author |
amaury.forgeotdarc |
| Recipients |
Amaury.Forgeot.d'Arc, amaury.forgeotdarc, brian.curtin, kayhayen, pitrou, tim.golden |
| Date |
2012年01月17日.10:04:28 |
| SpamBayes Score |
0.0006645293 |
| Marked as misclassified |
No |
| Message-id |
<1326794669.4.0.279471404011.issue13792@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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/ |
|