Message109179
on Windows, exec() does not really replace the current process. It creates a new process (with a new pid), and exits the current one.
Hence the calling program only sees that the script has terminated.
I don't see any easy solution on Windows, except than using subprocess.Popen(), and exit the script when the subprocess terminates. |
|
Date |
User |
Action |
Args |
2010-07-03 12:16:36 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, techtonik |
2010-07-03 12:16:36 | amaury.forgeotdarc | set | messageid: <1278159396.48.0.197344887491.issue9148@psf.upfronthosting.co.za> |
2010-07-03 12:16:34 | amaury.forgeotdarc | link | issue9148 messages |
2010-07-03 12:16:34 | amaury.forgeotdarc | create | |
|