This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jlamanna
Recipients abo, astrand, benjamin.peterson, christian.heimes, collinwinter, djc, dsagal, exarkun, flox, giampaolo.rodola, gjb1002, gregory.p.smith, grossetti, jlamanna, jonash, jyasskin, kanaka, nnorwitz, oefe, r.david.murray, santoni, shaphiro, siemer, tom_culliton, yonas
Date 2010-11-27.20:54:00
SpamBayes Score 5.28729e-07
Marked as misclassified No
Message-id <>
stubbing out subprocess._cleanup does not work around the problem from this example on 2.6.5:

import subprocess, signal
subprocess._cleanup = lambda: None

signal.signal(signal.SIGCLD, signal.SIG_IGN)

james@hyla:~$ python
Traceback (most recent call last):
  File "", line 5, in <module>
  File "/usr/lib/python2.6/", line 1170, in wait
    pid, sts = _eintr_retry_call(os.waitpid,, 0)
  File "/usr/lib/python2.6/", line 465, in _eintr_retry_call
    return func(*args)
OSError: [Errno 10] No child processes

This bug still prevents subprocess from being used inside of a daemon where SIGCLD is being caught to reap zombie processes.
Date User Action Args
2010-11-27 20:54:02jlamannasetrecipients: + jlamanna, nnorwitz, collinwinter, abo, gregory.p.smith, astrand, siemer, exarkun, gjb1002, oefe, giampaolo.rodola, christian.heimes, dsagal, jyasskin, tom_culliton, benjamin.peterson, djc, grossetti, r.david.murray, yonas, jonash, flox, kanaka, santoni, shaphiro
2010-11-27 20:54:02jlamannasetmessageid: <>
2010-11-27 20:54:00jlamannalinkissue1731717 messages
2010-11-27 20:54:00jlamannacreate