| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87695 | antoine.pitrou | 2011-01-03 19:23:55 +0100 (lun., 03 janv. 2011) | 5 lines
Issue #10806, issue #9905: Fix subprocess pipes when some of the standard
file descriptors (0, 1, 2) are closed in the parent process. Initial
patch by Ross Lagerwall.
........
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87233 | gregory.p.smith | 2010-12-14 06:38:00 -0800 (Tue, 14 Dec 2010) | 4 lines
Issue #1731717: Fixed the problem where subprocess.wait() could cause an
OSError exception when The OS had been told to ignore SIGCLD in our process
or otherwise not wait for exiting child processes.
........
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84582 | brian.curtin | 2010-09-07 08:24:38 -0500 (Tue, 07 Sep 2010) | 3 lines
Adjust #8956 to add the bad signal number to the exception message.
........
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84559 | brian.curtin | 2010-09-06 11:29:29 -0500 (Mon, 06 Sep 2010) | 6 lines
Fix #8956. ValueError message was only mentioning one signal.
Rather than list out the three signals (or more over time), the message was
made less specific but still descriptive.
........
|
|
|
|
| |
Ubuntu as well as Windows
|
| |
|
|
|
|
| |
patch from Gabriel Genellina
|
|
|
|
| |
instead
|
|
|
|
| |
and executable specified.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This revision introduced quoting for strings containing | based
on a misunderstanding of the commonly used quoting rules used
on Windows.
| is interpreted by cmd.exe, not by the MS C runtime argv initializer.
It only needs to be quoted if it is part of an argument passed through
cmd.exe.
See issue1300, issue7839, and issue8972.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interpreter shutdown semantics. Same issue goes for the methods that __del__
called. Now all the methods capture the global objects it needs as default
values to private parameters (could have stuck them on the class object itself,
but since the objects have nothing directly to do with the class that seemed
wrong).
There is no test as making one that works is hard. This patch was
verified against a consistently failing test in Mercurial's test suite, though,
so it has been tested in some regard.
Closes issue #5099. Thanks to Mary Stern for the bug report and Gabriel
Genellina for writing another patch for the same issue and attempting to write
a test.
|
| |
|
|
|
|
|
|
|
| |
by default as well. This change fixes that by treating -Q like -3 when it comes
to DeprecationWarning; using it causes the silencing to not occur.
Fixes issue #7319.
|
|
|
|
|
|
| |
Since CREATE_NEW_* are used for the creation flags of a subprocess, they
were added to __all__. The rest of the previously exposed attributes are
now qualified by _subprocess.ATTR rather than importing *.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
os.kill takes one of two newly added signals, CTRL_C_EVENT and
CTRL_BREAK_EVENT, or any integer value. The events are a special case
which work with subprocess console applications which implement a
special console control handler. Any other value but those two will
cause os.kill to use TerminateProcess, outright killing the process.
This change adds win_console_handler.py, which is a script to implement
SetConsoleCtrlHandler and applicable handler function, using ctypes.
subprocess also gets another attribute which is a necessary flag to
creationflags in Popen in order to send the CTRL events.
|
| |
|
|
|
|
| |
os.waitpid and os.read system calls where appropriate.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
(On windows, you still have to change one line to use pywin32
instead of the _subprocess helper module)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
process on success or raise an exception on error.
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
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.
|
|
|
|
| |
interrupted by a signal.
|
|
|
|
|
|
|
| |
the last reference to the Popen instance was dropped. Adding explicit
close() calls fixes it.
Candidate for backport to release25-maint.
|
|
|
|
| |
The bits and pieces for the Windows side were already in place. The POSIX side is trivial (as usual) and uses os.kill().
|
|
|
|
| |
subprocess.list2cmdline (windows).
|
|
|
|
|
|
|
|
|
|
|
|
| |
try:
...
except:
...
raise
else:
...
the else: is unecessary due to the blind except: with a raise.
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
for inside of the final if needquotes: within subprocess.list2cmdline().
|
|
|
|
|
| |
ignoring errors, and use this in subprocess to speed up
subprocess creation in close_fds mode. Patch by Mike Klaas.
|
| |
|
| |
|
| |
|
|
|
|
| |
not cleared before __del__ is run.
|
| |
|