Diez B. Roggisch wrote:
> > 1) is this change of behaviour documented somewhere and did I miss
> > that, or has this not been documented (yet)
> > 2) Is there a build-in way to set the exit value for Python in case an
> > exception is raised that is uncaught and causes python to terminate? (I
> >
> 1) is this change of behaviour documented somewhere and did I miss
> that, or has this not been documented (yet)
> 2) Is there a build-in way to set the exit value for Python in case an
> exception is raised that is uncaught and causes python to terminate? (I
> have now implemented something usin
I have a small C program that restarts a python based server
application if the exit value of the
system("python -m pythonscript arg1 arg2 ...")
is greater than 127 (using WEXITSTATUS on the result of system(..))
If the server really needs to stop I exit with
sys.exit(0)
but if I just want it