diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-09-30 09:15:37 (GMT) |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-09-30 09:15:37 (GMT) |
commit | 28714c8c26d72cfb3cee4d05f9f5b7390cda291b (patch) | |
tree | 76d328f7a0ae88879e91a6a9527d463b75ab05b7 /Doc/library/subprocess.rst | |
parent | 638df2539e82ce1ea561b40ba979d5c8604c05d2 (diff) | |
parent | ec3ea94251307071111304b95b2ffd3b3703e967 (diff) | |
download | cpython-28714c8c26d72cfb3cee4d05f9f5b7390cda291b.zip cpython-28714c8c26d72cfb3cee4d05f9f5b7390cda291b.tar.gz cpython-28714c8c26d72cfb3cee4d05f9f5b7390cda291b.tar.bz2 |
Issue #15533: Merge fix from 3.2.
Diffstat (limited to 'Doc/library/subprocess.rst')
-rw-r--r-- | Doc/library/subprocess.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 042f8f4..3ecdf4b 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -484,10 +484,10 @@ functions. .. versionadded:: 3.2 The *pass_fds* parameter was added. - If *cwd* is not ``None``, the child's current directory will be changed to *cwd* - before it is executed. Note that this directory is not considered when - searching the executable, so you can't specify the program's path relative to - *cwd*. + If *cwd* is not ``None``, the function changes the working directory to + *cwd* before executing the child. In particular, the function looks for + *executable* (or for the first item in *args*) relative to *cwd* if the + executable path is a relative path. If *restore_signals* is True (the default) all signals that Python has set to SIG_IGN are restored to SIG_DFL in the child process before the exec. |