Kay Hayen added the comment:
So I was confused indeed.
Actually I am observing in other tests at least, that apparently Nuitka
compiled execution in my tests can import _testcapi module, which normal
execution of the test does not manage.
Then there is the possibility that the exit code i
Kay Hayen added the comment:
I think that the whole reason I was doing this, is because with "os.execl" on
Windows, the exit code was always lost, but of course it is very important and
"subprocess.call" promises to return it.
I just tried if 3.7 has any better exit code handling right ther
New submission from Kay Hayen :
Hello there,
I am probably confusing myself. I am using this kind of code in Nuitka to
emulate "os.execl" on Windows, and so far it never let me down:
r = subprocess.call(
args,
shell = False
)