Message89212
| Author |
vinay.sajip |
| Recipients |
Frans, lowell87, mramahi77, neyro, rcronk, vinay.sajip |
| Date |
2009年06月10日.16:24:10 |
| SpamBayes Score |
3.1279376e-07 |
| Marked as misclassified |
No |
| Message-id |
<1244651051.66.0.938676733711.issue4749@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
You may want to re-test with Popen(..., close_fds=True) with the latest
Python 2.6. From the latest docs:
http://docs.python.org/library/subprocess.html
"If close_fds is true, all file descriptors except 0, 1 and 2 will be
closed before the child process is executed. (Unix only). Or, on
Windows, if close_fds is true then no handles will be inherited by the
child process. Note that on Windows, you cannot set close_fds to true
and also redirect the standard handles by setting stdin, stdout or stderr."
In Python 2.5, you can't use close_fds on Windows. In the 2.5
documentation (ActivePython 2.5.2.2) the above paragraph ends with
"(Unix only)." |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年06月10日 16:24:11 | vinay.sajip | set | recipients:
+ vinay.sajip, mramahi77, lowell87, neyro, rcronk, Frans |
| 2009年06月10日 16:24:11 | vinay.sajip | set | messageid: <1244651051.66.0.938676733711.issue4749@psf.upfronthosting.co.za> |
| 2009年06月10日 16:24:10 | vinay.sajip | link | issue4749 messages |
| 2009年06月10日 16:24:10 | vinay.sajip | create |
|