Re: Inconsistent behaviour of methods waiting for child process

Discussion in 'Python' started by Matt Jones, Jan 18, 2013.

  1. Matt Jones

    Matt Jones Guest

    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 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: <- remove b / usuñ b
    > xmpp: xmpp:
    > --
    > http://mail.python.org/mailman/listinfo/python-list
    >
    Matt Jones, Jan 18, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Razvan

    Inconsistent behaviour

    Razvan, Oct 3, 2004, in forum: Java
    Replies:
    19
    Views:
    544
    Carl Howells
    Oct 11, 2004
  2. Jeff Rodriguez
    Replies:
    23
    Views:
    1,089
    David Schwartz
    Dec 9, 2003
  3. Marcin Szewczyk
    Replies:
    0
    Views:
    89
    Marcin Szewczyk
    Jan 18, 2013
  4. Marcin Szewczyk
    Replies:
    0
    Views:
    100
    Marcin Szewczyk
    Jan 18, 2013
  5. Z W
    Replies:
    0
    Views:
    165
Loading...

Share This Page