Closed marianheil closed 4 years ago
os.system returns a 2 byte number where the high byte includes the real exit code of a program. However the higher byte is/can be dropped in sys.exit, which only takes 1 byte
see e.g. https://stackoverflow.com/a/6466753 https://docs.python.org/3/library/os.html#os.WEXITSTATUS http://tldp.org/LDP/abs/html/exitcodes.html
os.system returns a 2 byte number where the high byte includes the real exit code of a program. However the higher byte is/can be dropped in sys.exit, which only takes 1 byte
see e.g. https://stackoverflow.com/a/6466753 https://docs.python.org/3/library/os.html#os.WEXITSTATUS http://tldp.org/LDP/abs/html/exitcodes.html