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 rosslagerwall
Recipients ezio.melotti, gregory.p.smith, pitrou, rosslagerwall, sarum9in
Date 2012-08-29.06:58:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It's caused by the following check in _posixsubprocess.c:
    if (close_fds && errpipe_write < 3) {  /* precondition */
        PyErr_SetString(PyExc_ValueError, "errpipe_write must be >= 3");
        return NULL;

which was written by Gregory P. Smith in 2010 (adding to nosy list).

I'm not entirely sure why this check is here, presumably its due to the way close_fds=True is handled.

The close fds logic is also hardcoded to close fds from 3 upwards,.
Date User Action Args
2012-08-29 06:58:21rosslagerwallsetrecipients: + rosslagerwall, gregory.p.smith, pitrou, ezio.melotti, sarum9in
2012-08-29 06:58:21rosslagerwallsetmessageid: <>
2012-08-29 06:58:21rosslagerwalllinkissue15798 messages
2012-08-29 06:58:20rosslagerwallcreate