On Tue, Mar 5, 2013 at 1:31 AM, Tomas Kotal <tomas.ko...@gmail.com> wrote: > But when I run same script on Linux, what I get is this: > > 0 > 32512
Under Unix, the return value from os.system() encodes more than one piece of information: http://docs.python.org/2/library/os.html#os.system http://docs.python.org/2/library/os.html#os.wait 32512 is 127*256, meaning that the shell exited with return code 127 when given an unrecognized command. ChrisA -- http://mail.python.org/mailman/listinfo/python-list