If a command gets too long os.system() will return 32512. As I have figured out from Google this normally happens if the command can't be found. In the attachments is an example command which will fail on os.system() (it was generated as test during development - it is nearly 600.000 characters long). Executing the file with bash works fine but using os.system() makes troubles.
I have figured out that system() in C can only take up to 65533 arguments after a command (so it is a 16 bit issue). Giving one more argument will result in the return code 32512 (which implies the exit code 127).
History
Date
User
Action
Args
2022-04-11 14:57:50
admin
set
github: 63215
2013-09-16 06:38:54
deleted250130
set
status: open -> closedresolution: not a bugmessages: +