Different behavior with multiprocessing

2013-03-04 Thread Tomas Kotal
Hi all. Recently I discovered a strange behavior with multiprocessing library and call to function os.system (a different behavior under Linux and Windows to be more specific). I have this simple testing script: import sys import os from multiprocess

Re: Different behavior with multiprocessing

2013-03-04 Thread Tomas Kotal
> 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 > > w

Re: Different behavior with multiprocessing

2013-03-04 Thread Tomas Kotal
Dne pondělí, 4. března 2013 15:31:41 UTC+1 Tomas Kotal napsal(a): > Hi all. > > > > Recently I discovered a strange behavior with multiprocessing library and > call to function os.system (a different behavior under Linux and Windows to > be more specific). I have this