Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes Issue #16114: The subprocess module no longer provides a | Gregory P. Smith | 2012-10-10 | 1 | -1/+9 |
|\ | | | | | | | | | | | 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 a | Gregory P. Smith | 2012-10-10 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILD | Gregory P. Smith | 2012-09-29 | 1 | -1/+8 |
|\ \ | |/ | | | | | | | to return a returncode of 0 when the child has already exited or cannot be waited on. | ||||
| * | Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILD | Gregory P. Smith | 2012-09-29 | 1 | -1/+8 |
| | | | | | | | | | | to return a returncode of 0 when the child has already exited or cannot be waited on. | ||||
* | | Issue #15595: Fix subprocess.Popen(universal_newlines=True) | Andrew Svetlov | 2012-08-19 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek. | ||||
| * | Issue #15595: Fix subprocess.Popen(universal_newlines=True) | Andrew Svetlov | 2012-08-19 | 1 | -2/+2 |
| | | | | | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek. | ||||
* | | Use Thread.is_alive() instead of old-style Thread.isAlive() in subprocess. | Andrew Svetlov | 2012-08-19 | 1 | -2/+2 |
| | | |||||
* | | Cleanup universal_newlines usage for subprocess.Popen, remove unused param. | Andrew Svetlov | 2012-08-15 | 1 | -4/+4 |
| | | |||||
* | | Issue #15592. Fix regression: subprocess.communicate() breaks on no input ↵ | Andrew Svetlov | 2012-08-14 | 1 | -12/+13 |
|\ \ | |/ | | | | | | | | | with universal newlines true. Patch by Chris Jerdonek. | ||||
* | | Close #14690: Use monotonic clock instead of system clock in the sched, | Victor Stinner | 2012-05-30 | 1 | -4/+8 |
| | | | | | | | | subprocess and trace modules. | ||||
* | | Implemented PEP 405 (Python virtual environments). | Vinay Sajip | 2012-05-26 | 1 | -1/+1 |
| | | |||||
* | | Move private function _args_from_interpreter_flags() to subprocess.py, so | Antoine Pitrou | 2012-05-18 | 1 | -0/+31 |
| | | | | | | | | | | that it can be imported when threads are disabled. (followup to issue #12098) | ||||
* | | Issue #11750: The Windows API functions scattered in the _subprocess and | Antoine Pitrou | 2012-04-18 | 1 | -37/+69 |
| | | | | | | | | | | _multiprocessing.win32 modules now live in a single module "_winapi". Patch by sbt. | ||||
* | | Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵ | Antoine Pitrou | 2012-03-11 | 1 | -1/+9 |
|\ \ | |/ | | | | | Windows when the child process has already exited. | ||||
| * | Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵ | Antoine Pitrou | 2012-03-11 | 1 | -1/+11 |
| | | | | | | | | Windows when the child process has already exited. | ||||
* | | Use InterruptedError instead of checking for EINTR | Antoine Pitrou | 2011-10-23 | 1 | -4/+2 |
| | | |||||
* | | Issue #12494: Close pipes and kill process on error in subprocess functions | Victor Stinner | 2011-09-01 | 1 | -22/+34 |
| | | | | | | | | | | | | On error, call(), check_call(), check_output() and getstatusoutput() functions of the subprocess module now kill the process, read its status (to avoid zombis) and close pipes. | ||||
* | | Issue #12650: Fix a race condition where a subprocess.Popen could leak | Charles-François Natali | 2011-08-18 | 1 | -1/+6 |
|\ \ | |/ | | | | | resources (FD/zombie) when killed at the wrong time. | ||||
| * | Issue #12650: Fix a race condition where a subprocess.Popen could leak | Charles-François Natali | 2011-08-18 | 1 | -1/+6 |
| | | | | | | | | resources (FD/zombie) when killed at the wrong time. | ||||
| * | Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is | Ross Lagerwall | 2011-07-27 | 1 | -0/+8 |
| | | | | | | | | given as a low fd, it gets overwritten. | ||||
* | | Issue #12591: Improve support of "universal newlines" in the subprocess | Antoine Pitrou | 2011-07-23 | 1 | -1/+1 |
|\ \ | |/ | | | | | module: the piped streams can now be properly read from or written to. | ||||
| * | Issue #12591: Improve support of "universal newlines" in the subprocess | Antoine Pitrou | 2011-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | module: the piped streams can now be properly read from or written to. (this was broken due to the 2.x to 3.x transition; communicate() support is still sketchy) | ||||
* | | (merge 3.2) Issue #12493: subprocess: communicate() handles EINTR | Victor Stinner | 2011-07-05 | 1 | -3/+3 |
|\ \ | |/ | | | | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe. | ||||
| * | Issue #12493: subprocess: communicate() handles EINTR | Victor Stinner | 2011-07-05 | 1 | -3/+3 |
| | | | | | | | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe. | ||||
* | | (merge 3.2) Close #12383: Fix subprocess module with env={}: don't copy the | Victor Stinner | 2011-06-21 | 1 | -1/+1 |
|\ \ | |/ | | | | | environment variables, start with an empty environment. | ||||
| * | Close #12383: Fix subprocess module with env={}: don't copy the environment | Victor Stinner | 2011-06-21 | 1 | -1/+1 |
| | | | | | | | | variables, start with an empty environment. | ||||
* | | (Merge 3.2) Close #12085: Fix an attribute error in subprocess.Popen destructor | Victor Stinner | 2011-06-01 | 1 | -1/+4 |
|\ \ | |/ | | | | | | | if the constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan. | ||||
| * | Close #12085: Fix an attribute error in subprocess.Popen destructor if the | Victor Stinner | 2011-06-01 | 1 | -1/+4 |
| | | | | | | | | | | constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan. | ||||
| * | normalize whitespace. | Gregory P. Smith | 2011-05-11 | 1 | -1/+1 |
| | | |||||
| * | merge - 7a3f3ad83676 Fixes Issue #12044. | Gregory P. Smith | 2011-05-11 | 1 | -0/+2 |
| | | |||||
* | | The _posixsubprocess module is now required on POSIX. | Gregory P. Smith | 2011-05-28 | 1 | -160/+28 |
| | | | | | | | | | | | | | | | | | | Remove the pure Python POSIX subprocess implementation. If non-CPython VMs (are there any for 3.x yet?) were somehow depending on this, they already have the exact same set of problems with Python code being executed after os.fork() that _posixsubprocess was written to deal with. They should implement an equivalent outside of Python. | ||||
* | | Update documentation to mention bytes instead byte string and correct one | Gregory P. Smith | 2011-05-22 | 1 | -2/+2 |
| | | | | | | | | mentioned string to the accurate description of what type is required. | ||||
* | | - Issue #12044: Fixed subprocess.Popen when used as a context manager to | Gregory P. Smith | 2011-05-11 | 1 | -0/+2 |
| | | | | | | | | | | wait for the process to end when exiting the context to avoid unintentionally leaving zombie processes around. | ||||
* | | whitespace fix | Brian Curtin | 2011-04-29 | 1 | -1/+1 |
| | | |||||
* | | merge | Brian Curtin | 2011-04-29 | 1 | -2/+9 |
|\ \ | |/ | |||||
| * | merge | Brian Curtin | 2011-04-29 | 1 | -2/+9 |
| |\ | |||||
| | * | Further fix #7838. CREATE_NEW_CONSOLE was exposed, but none of the | Brian Curtin | 2011-04-29 | 1 | -2/+9 |
| | | | | | | | | | | | | constants to be used for STARTUPINFO were exposed due to the change. | ||||
* | | | Merge with 3.2 | Ross Lagerwall | 2011-04-05 | 1 | -11/+34 |
|\ \ \ | |/ / | |||||
| * | | Merge with 3.1 | Ross Lagerwall | 2011-04-05 | 1 | -11/+34 |
| |\ \ | | |/ | |||||
| | * | Issue #10963: Ensure that subprocess.communicate() never raises EPIPE. | Ross Lagerwall | 2011-04-05 | 1 | -11/+34 |
| | | | |||||
* | | | Issue #11757: subprocess ensures that select() and poll() timeout >= 0 | Victor Stinner | 2011-04-05 | 1 | -14/+19 |
| | | | |||||
* | | | Issue #11692: Remove unnecessary demo functions in subprocess module. | Ross Lagerwall | 2011-03-27 | 1 | -65/+0 |
| | | | |||||
* | | | Fix timeout error message on windows to not be in milliseconds. | Reid Kleckner | 2011-03-21 | 1 | -3/+4 |
| | | | |||||
* | | | Fix the Windows timeout code. | Reid Kleckner | 2011-03-20 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates | Antoine Pitrou | 2011-03-19 | 1 | -2/+0 |
|\ \ \ | |/ / | | | | | | | unbuffered pipes, such that select() works properly on them. | ||||
| * | | Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates | Antoine Pitrou | 2011-03-19 | 1 | -2/+0 |
| |\ \ | | |/ | | | | | | | unbuffered pipes, such that select() works properly on them. | ||||
| | * | Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates | Antoine Pitrou | 2011-03-19 | 1 | -2/+0 |
| | | | | | | | | | | | | unbuffered pipes, such that select() works properly on them. | ||||
* | | | Include the timeout value in TimeoutExpired. | Reid Kleckner | 2011-03-16 | 1 | -22/+32 |
| | | | | | | | | | | | | | | | This was the original intention, but it wasn't threaded all the way through due to 'endtime'. Also added a trivial assertion to get coverage of __str__. | ||||
* | | | Issue #5870: Add subprocess.DEVNULL constant. | Ross Lagerwall | 2011-03-16 | 1 | -1/+22 |
| | | | |||||
* | | | #11565: Merge with 3.2. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
|\ \ \ | |/ / |