mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #15533: Merge fix from 3.2.
This commit is contained in:
commit
28714c8c26
3 changed files with 101 additions and 33 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue