I’ve come across this in the tool I develop, but it also handily exhibits in the “Scripting Terminal & Editor” window.
Type the following in to the terminal:
print (os.execute("pwd"))
and you’d expect to get:
0
which you do from 3.0.0 on 32-bit Linux (I’ve not got a 64-bit Linux installation)
but from 3.0.1 on Linux:
-1
Try:
print (os.execute("patently_nonexistent_madeupname"))
and 3.0.0 on Linux responds, as expected, with:
32512
whilst 3.0.1 on Linux sadly replies:
-1
None of which is helpful if you want to continue using os.execute’s return value in 3.0.1 on Linux
3.0.1 on 64-bit Windows is working as expected