Message90871
| Author |
zhigang |
| Recipients |
zhigang |
| Date |
2009年07月24日.07:56:34 |
| SpamBayes Score |
1.4248126e-06 |
| Marked as misclassified |
No |
| Message-id |
<1248422197.05.0.784368367425.issue6559@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The current subprocess.Popen() has a boolean close_fds parameter, which
cannot satisfy all the requirements. Eg. want to pass specific fd to
child process, but close others.
This patch adds a extra parameter pass_fds to subprocess.Popen's
__init__(). This parameter only effect when close_fds=True. When
close_fds=True, all fds in pass_fds will not closed before exec. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年07月24日 07:56:37 | zhigang | set | recipients:
+ zhigang |
| 2009年07月24日 07:56:37 | zhigang | set | messageid: <1248422197.05.0.784368367425.issue6559@psf.upfronthosting.co.za> |
| 2009年07月24日 07:56:35 | zhigang | link | issue6559 messages |
| 2009年07月24日 07:56:35 | zhigang | create |
|