summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorPeter Astrand <astrand@lysator.liu.se>2007-05-26 22:18:20 (GMT)
committerPeter Astrand <astrand@lysator.liu.se>2007-05-26 22:18:20 (GMT)
commit81a191b3510bbed302cb0a766bc6966cb4effaca (patch)
treee5c4438e52d5fe183db39d45ebddc34c56742f8b /Doc
parent5f9b6c9a1bc1c6aa1b07db52c8b851bb7e798f7a (diff)
downloadcpython-81a191b3510bbed302cb0a766bc6966cb4effaca.zip
cpython-81a191b3510bbed302cb0a766bc6966cb4effaca.tar.gz
cpython-81a191b3510bbed302cb0a766bc6966cb4effaca.tar.bz2
Applied patch 1669481, slightly modified: Support close_fds on Win32
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libsubprocess.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/lib/libsubprocess.tex b/Doc/lib/libsubprocess.tex
index 408ffa2..24b75a3 100644
--- a/Doc/lib/libsubprocess.tex
+++ b/Doc/lib/libsubprocess.tex
@@ -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.