Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36999 > unrolled thread

Re: Inconsistent behaviour of methods waiting for child process

Started byMatt Jones <matt.walker.jones@gmail.com>
First post2013-01-18 08:10 -0600
Last post2013-01-18 08:10 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Inconsistent behaviour of methods waiting for child process Matt Jones <matt.walker.jones@gmail.com> - 2013-01-18 08:10 -0600

#36999 — Re: Inconsistent behaviour of methods waiting for child process

FromMatt Jones <matt.walker.jones@gmail.com>
Date2013-01-18 08:10 -0600
SubjectRe: Inconsistent behaviour of methods waiting for child process
Message-ID<mailman.630.1358518251.2939.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

What version of python and os are you running?

*Matt Jones*


On Fri, Jan 18, 2013 at 6:04 AM, Marcin Szewczyk <python-list@wodny.org>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 when interrupted with a
> signal which I find disturbing.
>
> Reactions are:
> 1) exit with no exception or special return code
> 2) OSError exception
> 3) quiet retry (no exit)
>
> The 1) case is very impractical.
>
> Is there any movement towards standardization of those 3?
>
> Am I missing something and there is a way to get more information from
> Process.join()?
>
> --
> Marcin Szewczyk                       http://wodny.org
> mailto:Marcin.Szewczyk@wodny.borg  <- remove b / usuń b
> xmpp:wodny@ubuntu.pl                  xmpp:wodny@jabster.pl
> --
> http://mail.python.org/mailman/listinfo/python-list
>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web