Message169344
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:21 | rosslagerwall | set | recipients:
+ rosslagerwall, gregory.p.smith, pitrou, ezio.melotti, sarum9in |
2012-08-29 06:58:21 | rosslagerwall | set | messageid: <1346223501.64.0.392683913936.issue15798@psf.upfronthosting.co.za> |
2012-08-29 06:58:21 | rosslagerwall | link | issue15798 messages |
2012-08-29 06:58:20 | rosslagerwall | create | |
|