summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_subprocess.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * Issue #18174: Fix fd leaks in tests.Richard Oudkerk2013-06-101-1/+2
| |
* | Try to make test more reliable (saw some sporadic failures on buildbots)Antoine Pitrou2013-05-191-3/+3
|\ \ | |/
| * Try to make test more reliable (saw some sporadic failures on buildbots)Antoine Pitrou2013-05-191-3/+3
| |
* | Issue #16624: `subprocess.check_output` now accepts an `input` argument,Serhiy Storchaka2013-04-221-1/+35
| | | | | | | | | | allowing the subprocess's stdin to be provided as a (byte) string. Patch by Zack Weinberg.
* | Fixes issue #17488: Change the subprocess.Popen bufsize parameter default valueGregory P. Smith2013-03-231-0/+28
|\ \ | |/ | | | | | | | | from unbuffered (0) to buffering (-1) to match the behavior existing code expects and match the behavior of the subprocess module in Python 2 to avoid introducing hard to track down bugs.
| * Fixes issue #17488: Change the subprocess.Popen bufsize parameter default valueGregory P. Smith2013-03-231-0/+28
| |\ | | | | | | | | | | | | | | | from unbuffered (0) to buffering (-1) to match the behavior existing code expects and match the behavior of the subprocess module in Python 2 to avoid introducing hard to track down bugs.
| | * Fixes issue #17488: Change the subprocess.Popen bufsize parameter default valueGregory P. Smith2013-03-231-0/+22
| | | | | | | | | | | | | | | | | | from unbuffered (0) to buffering (-1) to match the behavior existing code expects and match the behavior of the subprocess module in Python 2 to avoid introducing hard to track down bugs.
* | | #11963: merge with 3.3.Ezio Melotti2013-03-111-12/+36
|\ \ \ | |/ /
| * | #11963: merge with 3.2.Ezio Melotti2013-03-111-12/+36
| |\ \ | | |/
| | * #11963: remove human verification from test_parser and test_subprocess.Ezio Melotti2013-03-111-12/+36
| | |
| | * Issue #16903: Popen.communicate() on Unix now accepts strings whenSerhiy Storchaka2013-02-041-2/+29
| | | | | | | | | | | | universal_newlines is true as on Windows.
* | | Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()Charles-François Natali2013-01-121-0/+2
|\ \ \ | |/ / | | | | | | returns ESRCH for a zombie process, which is not POSIX-compliant.
| * | Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()Charles-François Natali2013-01-121-0/+2
| |\ \ | | |/ | | | | | | returns ESRCH for a zombie process, which is not POSIX-compliant.
| | * Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()Charles-François Natali2013-01-121-0/+2
| | | | | | | | | | | | returns ESRCH for a zombie process, which is not POSIX-compliant.
* | | fix test for subprocess (#16644)Andrew Svetlov2012-12-261-4/+1
|\ \ \ | |/ /
| * | fix test for subprocess (#16644)Andrew Svetlov2012-12-261-4/+1
| |\ \ | | |/
| | * fix test for subprocess (#16644)Andrew Svetlov2012-12-261-2/+1
| | |
* | | Get rig of EnvironmentError (#16705)Andrew Svetlov2012-12-171-4/+3
| | |
* | | Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-20/+19
|\ \ \ | |/ /
| * | Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
| |\ \ | | |/
| | * Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
| | |
* | | Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-111-0/+39
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
| * | Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-111-0/+38
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
| | * Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-111-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
* | | Raise our own SubprocessError rather than a RuntimeError in when dealing withGregory P. Smith2012-11-111-3/+3
|/ / | | | | | | odd rare errors coming from the subprocess module.
* | Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-111-0/+33
|\ \ | |/ | | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
| * Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-111-0/+33
| | | | | | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
* | Fixes Issue #16114: The subprocess module no longer provides aGregory P. Smith2012-10-101-7/+40
|\ \ | |/ | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist.
| * Fixes Issue #16114: The subprocess module no longer provides aGregory P. Smith2012-10-101-7/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist. It now keeps track of if the child got as far as preexec and reports it if not back to the parent via a special "noexec" error message value in the error pipe so that the cwd can be blamed for a failed chdir instead of the exec of the executable being blamed instead. The executable is also always reported accurately when exec fails. Unittests enhanced to cover these cases.
* | Issue #16170: Remove Linux skip from test_subprocess's test_executable test.Chris Jerdonek2012-10-091-5/+8
| |
* | Issue #16115: Skip a newly added subprocess.Popen() test on Linux.Chris Jerdonek2012-10-091-0/+4
| |
* | Issue #16115: Improve testing of the executable argument to subprocess.Popen().Chris Jerdonek2012-10-081-10/+27
| |
* | revert accidental inclusion of subprocess testsAndrew Svetlov2012-10-061-22/+0
|\ \ | |/
| * revert accidental inclusion of subprocess testsAndrew Svetlov2012-10-061-22/+0
| |
* | Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-061-0/+22
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-061-0/+22
| | | | | | | | Patch by Serhiy Storchaka.
* | Issue #16115: Add test for check that executable arg to Popen() takes ↵Andrew Svetlov2012-10-051-0/+10
| | | | | | | | precedence over args[0] arg\n \n Patch by Kushal Das
* | Issue #15533: Merge update from 3.2.Chris Jerdonek2012-09-301-0/+2
|\ \ | |/
| * Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending ↵Chris Jerdonek2012-09-301-0/+2
| | | | | | | | resolution of issue.
* | Issue #15533: Merge fix from 3.2.Chris Jerdonek2012-09-301-29/+94
|\ \ | |/
| * Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument.Chris Jerdonek2012-09-301-29/+94
| |
* | Issue #15595: Fix subprocess.Popen(universal_newlines=True)Andrew Svetlov2012-08-191-0/+32
|\ \ | |/ | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.
| * Issue #15595: Fix subprocess.Popen(universal_newlines=True)Andrew Svetlov2012-08-191-0/+33
| | | | | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.
* | Brush subprocess tests a bit.Andrew Svetlov2012-08-191-20/+21
| |
* | Fix subprocess test broken on WindowsAndrew Svetlov2012-08-161-10/+11
| |
* | Add yet another test for subprocess.Popen.communicateAndrew Svetlov2012-08-151-0/+28
| |
* | Issue #15592. Fix regression: subprocess.communicate() breaks on no input ↵Andrew Svetlov2012-08-141-2/+12
|\ \ | |/ | | | | | | | | with universal newlines true. Patch by Chris Jerdonek.
| * Add test to explicit check the absence regression in subprocess (issue #15592).Andrew Svetlov2012-08-141-0/+12
| | | | | | | | Patch by Chris Jerdonek.
* | Merge universal newlines-related fixes (issue #13119)Antoine Pitrou2012-08-041-26/+28
|\ \ | |/
| * Fix universal newlines test to avoid the newline translation done by sys.stdout.Antoine Pitrou2012-08-041-26/+28
| |