Re: Inconsistent behaviour of methods waiting for child process

2013-01-18 Thread Marcin Szewczyk
On Fri, Jan 18, 2013 at 08:10:03AM -0600, Matt Jones wrote: > What version of python and os are you running? $ python --version Python 2.7.3rc2 $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description:Debian GNU/Linux 7.0 (wheezy) Release:7.0 Codename: w

Re: Inconsistent behaviour of methods waiting for child process

2013-01-18 Thread Matt Jones
What version of python and os are you running? *Matt Jones* On Fri, Jan 18, 2013 at 6:04 AM, Marcin Szewczyk wrote: > Hi, > > I've done some experiments with: > 1) multiprocessing.Process.join() > 2) os.waitpid() > 3) subprocess.Popen.wait() > > These three methods behave completely different w

Inconsistent behaviour of methods waiting for child process

2013-01-18 Thread Marcin Szewczyk
Hi, I've done some experiments with: 1) multiprocessing.Process.join() 2) os.waitpid() 3) subprocess.Popen.wait() These three methods behave completely different when interrupted with a signal which I find disturbing. Reactions are: 1) exit with no exception or special return code 2) OSError exc