Message151430
immediately execute the created executable file. For that I am using
"os.execl" to immediately replace the compiler and run the freshly created
binary instead.
>
> This worked well so far, but as of late, I am also checking the exit
codes, and it turns out that even for failing programs, the exit code is
"0" on Windows, even though the compiled binary is exiting with "1".
This is expected behavior on Windows: exec does not replace the existing
process like with Unix, it creates a new process and exit(0) the caller. |
|
Date |
User |
Action |
Args |
2012-01-17 07:26:41 | Amaury.Forgeot.d'Arc | set | recipients:
+ Amaury.Forgeot.d'Arc, pitrou, tim.golden, brian.curtin, kayhayen |
2012-01-17 07:26:41 | Amaury.Forgeot.d'Arc | link | issue13792 messages |
2012-01-17 07:26:40 | Amaury.Forgeot.d'Arc | create | |
|