summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_subprocess.py
Commit message (Collapse)AuthorAgeFilesLines
* Skip the test requiring ctypes if ctypes is unavailable.Gregory P. Smith2017-01-231-1/+6
|\ | | | | | | prevents http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/240/steps/test/logs/stdio
| * Skip the test requiring ctypes if ctypes is unavailable.Gregory P. Smith2017-01-231-1/+6
| |\ | | | | | | | | | prevents http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/240/steps/test/logs/stdio
| | * Skip the test requiring ctypes if ctypes is unavailable.Gregory P. Smith2017-01-231-1/+6
| | | | | | | | | | | | prevents http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/240/steps/test/logs/stdio
* | | typo fix, extra '.' on MacOS :)Gregory P. Smith2017-01-231-1/+1
|\ \ \ | |/ /
| * | typo fix, extra '.' on MacOS :)Gregory P. Smith2017-01-231-1/+1
| |\ \ | | |/
| | * typo fix, extra '.' :)Gregory P. Smith2017-01-231-1/+1
| | |
* | | Issue #29335: Fix subprocess.Popen.wait() when the child process hasGregory P. Smith2017-01-231-0/+41
|\ \ \ | |/ / | | | | | | exited to a stopped instead of terminated state (ex: when under ptrace).
| * | Issue #29335: Fix subprocess.Popen.wait() when the child process hasGregory P. Smith2017-01-231-0/+41
| |\ \ | | |/ | | | | | | exited to a stopped instead of terminated state (ex: when under ptrace).
| | * Issue #29335: Fix subprocess.Popen.wait() when the child process hasGregory P. Smith2017-01-231-0/+41
| | | | | | | | | | | | exited to a stopped instead of terminated state (ex: when under ptrace).
| | * Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
| | |
* | | Issue #20572: Remove the subprocess.Popen.wait endtime parameter.Gregory P. Smith2016-11-211-14/+0
|\ \ \ | |/ / | | | | | | It was deprecated in 3.4 and undocumented prior to that.
| * | Issue #20572: The subprocess.Popen.wait method's undocumented endtimeGregory P. Smith2016-11-211-14/+13
|/ / | | | | | | | | parameter now raises a DeprecationWarning. It was deprecated in 3.4. It was never documented prior to that.
* | Issue #28662: Catch PermissionError in tests when spawning a non existent ↵Xavier de Gaye2016-11-141-2/+3
| | | | | | | | program
* | Issue #6135: Adds encoding and errors parameters to subprocessSteve Dower2016-09-071-18/+41
| |
* | Adds test.support.PGO and skips tests that are not useful for PGO.Steve Dower2016-09-071-0/+3
| |
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
| |
* | Issue #27626: Merge spelling fixes from 3.5Martin Panter2016-07-281-1/+1
|\ \ | |/
| * Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | | | | | Based on patch by Ville Skyttä.
* | Issue #27472: Add test.support.unix_shell as the path to the default shell.Xavier de Gaye2016-07-221-2/+2
| |
* | merge from 3.5. (moves the issue26372 tests to the proper class)Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-06-051-46/+46
|\ \ | |/
| * Move the BrokenPipeError tests to the POSIXProcessTestCase classGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-06-051-46/+46
| | | | | | | | | | instead of the generic ProcessTestCase class as they are posix specific.
* | issue26372 - use os.devnull instead of /dev/nullGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-06-041-1/+1
|\ \ | |/
| * issue26372 - use os.devnull instead of /dev/nullGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-06-041-1/+1
| |
* | merge from 3.5 - Fixes Issue #26373: subprocess.Popen.communicateGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-06-041-0/+47
|\ \ | |/ | | | | | | now correctly ignores BrokenPipeError when the child process dies before .communicate() is called in more (all?) circumstances.
| * Fixes Issue #26373: subprocess.Popen.communicate now correctly ignoresGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-06-041-0/+47
| | | | | | | | | | BrokenPipeError when the child process dies before .communicate() is called in more (all?) circumstances.
* | issue27167: make the test not care about the exact signal name in theGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-06-031-1/+3
| | | | | | | | error message as some numbers map to multiple names.
* | Issue #27167: Clarify the subprocess.CalledProcessError error message textGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-06-031-0/+19
| | | | | | | | when the child process died due to a signal.
* | subprocess now emits a ResourceWarning warningVictor Stinner2016-05-201-2/+6
| | | | | | | | | | Issue #26741: subprocess.Popen destructor now emits a ResourceWarning warning if the child process is still running.
* | Use "with popen:" in test_subprocessVictor Stinner2016-05-201-58/+55
| | | | | | | | Issue #26741.
* | Issue #22274: Merge stderr=STDOUT fix from 3.5Martin Panter2016-05-131-0/+21
|\ \ | |/
| * Issue #22274: Redirect stderr=STDOUT when stdout not redirected, by Akira LiMartin Panter2016-05-131-0/+21
| |
* | Remove more unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
| |
* | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-3/+0
| |
* | Issue #26782: Add STARTUPINFO to subprocess.__all__ on WindowsMartin Panter2016-04-161-2/+1
|/
* Issue #26782: Acknowledge the incomplete status of __all__ in 3.5Martin Panter2016-04-161-1/+2
| | | | | Handle is probably meant to be excluded, and STARTUPINFO will be added to __all__ in 3.6.
* Issue #10838: Run test__all__() everywhere, even if poll() is not availableMartin Panter2016-04-161-15/+14
|
* Issue #25764: Skip fork failure test when run as rootMartin Panter2015-12-111-2/+6
|
* Issue #25764: Merge OS X test skipping from 3.4 into 3.5Martin Panter2015-12-051-0/+2
|\
| * Issue #25764: Skip the test on OS XMartin Panter2015-12-051-0/+2
| | | | | | | | | | | | | | The OS X buildbots were failing at the second setrlimit() call with EPERM, as if they were trying to raise the hard limit. The call should be keeping the hard limit the same and raising the soft limit back to its original value, so I don't understand the failure.
* | Issue #25764: Merge subprocess fix from 3.4 into 3.5Martin Panter2015-12-051-0/+16
|\ \ | |/
| * Issue #25764: Preserve subprocess fork exception when preexec_fn usedMartin Panter2015-11-301-0/+16
| | | | | | | | Also fix handling of failure to release the import lock.
* | Fixes #23564: Fix a partially broken sanity check in the _posixsubprocessGregory P. Smith2015-11-161-2/+28
| | | | | | | | | | internals regarding how fds_to_pass were passed to the child. The bug had no actual impact as subprocess.py already avoided it.
* | Issue #25249: Remove unneeded mkstemp helper in test_subprocessBerker Peksag2015-09-281-18/+8
|\ \ | |/ | | | | | | | | | | The helper was added in 76641824cf05 11 years ago and it can be removed now since all supported Python versions have tempfile.mkstemp(). Patch by Nir Soffer.
| * Issue #25249: Remove unneeded mkstemp helper in test_subprocessBerker Peksag2015-09-281-18/+8
| | | | | | | | | | | | | | The helper was added in 76641824cf05 11 years ago and it can be removed now since all supported Python versions have tempfile.mkstemp(). Patch by Nir Soffer.
* | Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-5/+2
|\ \ | |/
| * Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-5/+2
| |
* | Issue #9517: Move script_helper to the support package.Berker Peksag2015-05-061-2/+2
| | | | | | | | Patch by Christie Wilson.
* | Add a subprocess.run() function than returns a CalledProcess instance for aGregory P. Smith2015-04-141-0/+97
| | | | | | | | | | more consistent API than the existing call* functions. (enhancement from issue 23342)
* | issue10838: Rename the subprocess.mswindows internal global to _mswindows.Gregory P. Smith2015-04-071-1/+1
| | | | | | | | It is internal only, not a documented API.
* | Addresses Issue #10838: The subprocess now module includesGregory P. Smith2015-04-071-0/+15
| | | | | | | | | | | | | | | | | | | | SubprocessError and TimeoutError in its list of exported names for the users wild enough to use "from subprocess import *". MAXFD, mswindows and list2cmdline should be dealt with (renamed or moved) in separate commits. Committed at 35,000ft. Thanks chromebook free gogo wifi passes!