mirror of
https://github.com/python/cpython.git
synced 2025-09-24 17:33:29 +00:00
Applied patch 1669481, slightly modified: Support close_fds on Win32
This commit is contained in:
parent
5f9b6c9a1b
commit
81a191b351
3 changed files with 16 additions and 6 deletions
|
@ -89,7 +89,10 @@ called in the child process just before the child is executed.
|
|||
|
||||
If \var{close_fds} is true, all file descriptors except \constant{0},
|
||||
\constant{1} and \constant{2} will be closed before the child process is
|
||||
executed. (\UNIX{} only)
|
||||
executed. (\UNIX{} only). Or, on Windows, if \var{close_fds} is true
|
||||
then no handles will be inherited by the child process. Note that on
|
||||
Windows, you cannot set \var{close_fds} to true and also redirect the
|
||||
standard handles by setting \var{stdin}, \var{stdout} or \var{stderr}.
|
||||
|
||||
If \var{shell} is \constant{True}, the specified command will be
|
||||
executed through the shell.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue