summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
Commit message (Collapse)AuthorAgeFilesLines
* #7381: consistency update, and backport avoiding ``None >= 0`` check from py3k.Georg Brandl2009-12-281-4/+6
|
* #7381: subprocess documentation and library docstring consistency fixes.Georg Brandl2009-12-201-9/+9
|
* Issue 7294: Fixed URL in a comment.Eric Smith2009-11-091-1/+3
|
* #5329: fix os.popen* regression from 2.5: don't execute commands as a sequencePhilip Jenvey2009-09-291-15/+41
| | | | | | through the shell. also document the correct subprocess replacement for this case patch from Jean-Paul Calderone and Jani Hakala
* Revert r74028.Georg Brandl2009-07-161-2/+2
|
* #6482: simplify "except: raise" to "finally:".Georg Brandl2009-07-161-2/+2
|
* #6447: typo in subprocess docstringAmaury Forgeot d'Arc2009-07-101-2/+2
|
* #6416: Fix compilation of the select module on Windows, as well as ↵Amaury Forgeot d'Arc2009-07-091-5/+6
| | | | | | | | test_subprocess: PIPE_BUF is not defined on Windows, and probably has no meaning there. Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
* Use select.poll() in subprocess, when available, rather than select() so thatGregory P. Smith2009-07-041-35/+96
| | | | | | | | | | it does not fail when file descriptors are large. Fixes issue3392. Patch largely contributed by Frank Chu (fpmc) with some improvements by me. See http://bugs.python.org/issue3392. Candidate for backporting to release26-maint as it is a bug fix and changes no public API.
* Issue #6274. Fixed a potential FD leak in subprocess.py.Facundo Batista2009-06-191-82/+90
|
* #6189: The subprocess.py module should be kept compatible with python 2.2Amaury Forgeot d'Arc2009-06-181-3/+12
| | | | | (On windows, you still have to change one line to use pywin32 instead of the _subprocess helper module)
* Issue #5179: Fixed subprocess handle leak on failure on windows.Hirokazu Yamamoto2009-03-031-32/+15
|
* Issue #5341: Fix a variety of spelling errors.Mark Dickinson2009-02-211-2/+2
|
* #5179: don't leak PIPE fds when child execution fails.Georg Brandl2009-02-141-0/+3
|
* rename the new check_call_output to check_output. its less ugly.Gregory P. Smith2008-12-051-11/+11
|
* Adds a subprocess.check_call_output() function to return the output from aGregory P. Smith2008-12-041-12/+60
| | | | process on success or raise an exception on error.
* Remove warnings generated for the suprocess module when run under -3. RequiredBrett Cannon2008-08-081-7/+8
| | | | | | commenting out True/False compatbility stuff, remove a use of apply(), and remove a use of buffer() (just pulled the solution used in 3.0 which is direct slicing).
* - Issue #1857: subprocess.Popen.poll gained an additional _deadstate keywordGregory P. Smith2008-08-041-4/+8
| | | | | argument in python 2.5, this broke code that subclassed Popen to include its own poll method. Fixed my moving _deadstate to an _internal_poll method.
* - Issue #2113: Fix error in subprocess.Popen if the select system call isGregory P. Smith2008-07-061-1/+6
| | | | interrupted by a signal.
* Fixes issue2791: subprocess.Popen.communicate leaked a file descripton untilGregory P. Smith2008-05-261-0/+2
| | | | | | | the last reference to the Popen instance was dropped. Adding explicit close() calls fixes it. Candidate for backport to release25-maint.
* Added kill, terminate and send_signal to subprocess.PopenChristian Heimes2008-04-191-0/+32
| | | | The bits and pieces for the Windows side were already in place. The POSIX side is trivial (as usual) and uses os.kill().
* Fix issue 1300: Quote command line arguments that contain a '|' character inGregory P. Smith2008-01-191-3/+3
| | | | subprocess.list2cmdline (windows).
* Undo an unnecessary else: and indentation that r60104 added.Gregory P. Smith2008-01-191-58/+57
| | | | | | | | | | | | try: ... except: ... raise else: ... the else: is unecessary due to the blind except: with a raise.
* Fixes issue1336 - a race condition could occur when forking if the gcGregory P. Smith2008-01-191-58/+71
| | | | | | | kicked in during the critical section. solution: disable gc during that section. Patch contributed by jpa and updated by me to cover the race condition still existing what therve from twistedmatrix pointed out (already seen and fixed in twisted's own subprocess code).
* fix comment typos, use not arg instead of arg == "", add test coverageGregory P. Smith2008-01-191-3/+3
| | | | for inside of the final if needquotes: within subprocess.list2cmdline().
* #1663329: add os.closerange() to close a range of fds,Georg Brandl2008-01-191-7/+2
| | | | | ignoring errors, and use this in subprocess to speed up subprocess creation in close_fds mode. Patch by Mike Klaas.
* Applied patch 1669481, slightly modified: Support close_fds on Win32Peter Astrand2007-05-261-5/+4
|
* Remove trailing whitespace in docstringNeal Norwitz2007-05-111-2/+0
|
* Fix typo in docstring (the module is popen2, not 3).Neal Norwitz2007-05-111-1/+1
|
* Bug #1704790: bind name "sys" locally in __del__ method so that it isGeorg Brandl2007-04-211-1/+1
| | | | not cleared before __del__ is run.
* Whitespace normalization.Tim Peters2007-03-121-1/+1
|
* Applied patch 1124861.3.patch to solve bug #1124861: Automatically create ↵Peter Astrand2007-02-061-3/+25
| | | | pipes on Windows, if GetStdHandle fails. Will backport.
* We had several if statements checking the value of a fd. This is unsafe, ↵Peter Astrand2007-02-021-15/+15
| | | | since valid fds might be zero. We should check for not None instead.
* Whitespace normalization.Tim Peters2007-01-301-1/+1
|
* Fix for bug #1634343: allow specifying empty arguments on WindowsPeter Astrand2007-01-131-1/+1
|
* Avoid O(N**2) bottleneck in _communicate_(). Fixes #1598181.Peter Astrand2007-01-071-3/+4
|
* Re-implemented fix for #1531862 once again, in a way that works with Python ↵Peter Astrand2007-01-071-2/+6
| | | | 2.2. Fixes bug #1603424.
* SF bug #1623890, fix argument name in docstringNeal Norwitz2006-12-291-1/+1
|
* Bug #1357915: allow all sequence types for shell arguments inGeorg Brandl2006-10-291-0/+2
| | | | subprocess.
* Fixed subprocess bug #1531862 again, after removing testsGustavo Niemeyer2006-09-071-8/+4
| | | | offending buildbot
* Revert 51758 because it broke all the buildbotsNeal Norwitz2006-09-061-4/+8
|
* Fixing #1531862: Do not close standard file descriptors in theGustavo Niemeyer2006-09-061-8/+4
| | | | subprocess module.
* Guard for _active being None in __del__ method.Georg Brandl2006-07-201-1/+1
|
* Whitespace normalization.Tim Peters2006-07-181-1/+1
|
* Bug #1223937: CalledProcessError.errno -> CalledProcessError.returncode.Peter Astrand2006-07-141-8/+13
|
* Fix doco. Backport candidate.Neal Norwitz2006-07-101-1/+1
|
* Applied patch #1506758: Prevent MemoryErrors with large MAXFD.Peter Astrand2006-06-221-1/+1
|
* Bug #1500293: fix memory leaks in _subprocess module.Georg Brandl2006-06-041-5/+5
|
* Try to fix breakage caused by patch #1479181, r45850Neal Norwitz2006-05-021-2/+2
|
* Patch #1467770: Add Popen objects to _active only in __del__.Martin v. Löwis2006-04-101-10/+26
| | | | | | Introduce _child_active member to keep track on whether a child needs to be waited for. Backport candidate.