Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #5179: Fixed subprocess handle leak on failure on windows. | Hirokazu Yamamoto | 2009-03-03 | 1 | -32/+15 |
| | |||||
* | Issue #5341: Fix a variety of spelling errors. | Mark Dickinson | 2009-02-21 | 1 | -2/+2 |
| | |||||
* | #5179: don't leak PIPE fds when child execution fails. | Georg Brandl | 2009-02-14 | 1 | -0/+3 |
| | |||||
* | rename the new check_call_output to check_output. its less ugly. | Gregory P. Smith | 2008-12-05 | 1 | -11/+11 |
| | |||||
* | Adds a subprocess.check_call_output() function to return the output from a | Gregory P. Smith | 2008-12-04 | 1 | -12/+60 |
| | | | | process on success or raise an exception on error. | ||||
* | Remove warnings generated for the suprocess module when run under -3. Required | Brett Cannon | 2008-08-08 | 1 | -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 keyword | Gregory P. Smith | 2008-08-04 | 1 | -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 is | Gregory P. Smith | 2008-07-06 | 1 | -1/+6 |
| | | | | interrupted by a signal. | ||||
* | Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until | Gregory P. Smith | 2008-05-26 | 1 | -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.Popen | Christian Heimes | 2008-04-19 | 1 | -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 in | Gregory P. Smith | 2008-01-19 | 1 | -3/+3 |
| | | | | subprocess.list2cmdline (windows). | ||||
* | Undo an unnecessary else: and indentation that r60104 added. | Gregory P. Smith | 2008-01-19 | 1 | -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 gc | Gregory P. Smith | 2008-01-19 | 1 | -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 coverage | Gregory P. Smith | 2008-01-19 | 1 | -3/+3 |
| | | | | for inside of the final if needquotes: within subprocess.list2cmdline(). | ||||
* | #1663329: add os.closerange() to close a range of fds, | Georg Brandl | 2008-01-19 | 1 | -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 Win32 | Peter Astrand | 2007-05-26 | 1 | -5/+4 |
| | |||||
* | Remove trailing whitespace in docstring | Neal Norwitz | 2007-05-11 | 1 | -2/+0 |
| | |||||
* | Fix typo in docstring (the module is popen2, not 3). | Neal Norwitz | 2007-05-11 | 1 | -1/+1 |
| | |||||
* | Bug #1704790: bind name "sys" locally in __del__ method so that it is | Georg Brandl | 2007-04-21 | 1 | -1/+1 |
| | | | | not cleared before __del__ is run. | ||||
* | Whitespace normalization. | Tim Peters | 2007-03-12 | 1 | -1/+1 |
| | |||||
* | Applied patch 1124861.3.patch to solve bug #1124861: Automatically create ↵ | Peter Astrand | 2007-02-06 | 1 | -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 Astrand | 2007-02-02 | 1 | -15/+15 |
| | | | | since valid fds might be zero. We should check for not None instead. | ||||
* | Whitespace normalization. | Tim Peters | 2007-01-30 | 1 | -1/+1 |
| | |||||
* | Fix for bug #1634343: allow specifying empty arguments on Windows | Peter Astrand | 2007-01-13 | 1 | -1/+1 |
| | |||||
* | Avoid O(N**2) bottleneck in _communicate_(). Fixes #1598181. | Peter Astrand | 2007-01-07 | 1 | -3/+4 |
| | |||||
* | Re-implemented fix for #1531862 once again, in a way that works with Python ↵ | Peter Astrand | 2007-01-07 | 1 | -2/+6 |
| | | | | 2.2. Fixes bug #1603424. | ||||
* | SF bug #1623890, fix argument name in docstring | Neal Norwitz | 2006-12-29 | 1 | -1/+1 |
| | |||||
* | Bug #1357915: allow all sequence types for shell arguments in | Georg Brandl | 2006-10-29 | 1 | -0/+2 |
| | | | | subprocess. | ||||
* | Fixed subprocess bug #1531862 again, after removing tests | Gustavo Niemeyer | 2006-09-07 | 1 | -8/+4 |
| | | | | offending buildbot | ||||
* | Revert 51758 because it broke all the buildbots | Neal Norwitz | 2006-09-06 | 1 | -4/+8 |
| | |||||
* | Fixing #1531862: Do not close standard file descriptors in the | Gustavo Niemeyer | 2006-09-06 | 1 | -8/+4 |
| | | | | subprocess module. | ||||
* | Guard for _active being None in __del__ method. | Georg Brandl | 2006-07-20 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-07-18 | 1 | -1/+1 |
| | |||||
* | Bug #1223937: CalledProcessError.errno -> CalledProcessError.returncode. | Peter Astrand | 2006-07-14 | 1 | -8/+13 |
| | |||||
* | Fix doco. Backport candidate. | Neal Norwitz | 2006-07-10 | 1 | -1/+1 |
| | |||||
* | Applied patch #1506758: Prevent MemoryErrors with large MAXFD. | Peter Astrand | 2006-06-22 | 1 | -1/+1 |
| | |||||
* | Bug #1500293: fix memory leaks in _subprocess module. | Georg Brandl | 2006-06-04 | 1 | -5/+5 |
| | |||||
* | Try to fix breakage caused by patch #1479181, r45850 | Neal Norwitz | 2006-05-02 | 1 | -2/+2 |
| | |||||
* | Patch #1467770: Add Popen objects to _active only in __del__. | Martin v. Löwis | 2006-04-10 | 1 | -10/+26 |
| | | | | | | Introduce _child_active member to keep track on whether a child needs to be waited for. Backport candidate. | ||||
* | Changed license header: Now simply referring to PSF. This closes bug | Peter Astrand | 2005-09-23 | 1 | -22/+2 |
| | | | | 1138653. | ||||
* | Whitespace normalization. | Tim Peters | 2005-03-28 | 1 | -4/+4 |
| | |||||
* | Corrected bug in list2cmdline wrt backslashes. Fixes #1083306. | Peter Astrand | 2005-03-03 | 1 | -0/+1 |
| | |||||
* | Optimization for communicate(): If only one of stdin/stdout/stderr is | Peter Astrand | 2005-03-03 | 1 | -16/+29 |
| | | | | redirected, using select() or threads is unnecessary. | ||||
* | Made the module compatible with Python 2.2 again. | Peter Astrand | 2005-02-21 | 1 | -2/+5 |
| | |||||
* | Added copyright notice: | Peter Astrand | 2005-02-14 | 1 | -0/+2 |
| | | | | Licensed to PSF under a Contributor Agreement. | ||||
* | Patch from Leandro Lucarella: replaced: | Peter Astrand | 2005-02-10 | 1 | -29/+29 |
| | | | | | | | | | | | | var == None and var != None with var is None and var is not None and type(var) == int with instanceof(var, int) ...as recomended in PEP 8 [1]. | ||||
* | Reduce the usage of the types module. | Raymond Hettinger | 2005-02-07 | 1 | -9/+8 |
| | |||||
* | On UNIX, when the execution of the child fails, we must waitpid() to | Peter Astrand | 2005-01-01 | 1 | -0/+1 |
| | | | | prevent leaving zombies. | ||||
* | New subprocess utility function: check_call. Closes #1071764. | Peter Astrand | 2005-01-01 | 1 | -1/+39 |
| | |||||
* | Changed signature of call function to avoid confusion: this 'args' is not ↵ | Peter Astrand | 2004-12-05 | 1 | -3/+3 |
| | | | | the same as the one to the Popen constructor |