| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As stated in PEP 11, 3.4 removes code on Windows platforms where
COMSPEC points to command.com. The w9xpopen project in Visual Studio
was added to support that case, and there was a special case in subprocess
to cover that situation. This change removes the w9xpopen project from
the Visual Studio solution and removes any references to the w9xpopen
executable.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
all together and just include the repr of the data in the exception
itself instead of the useless string "Unknown".
This code path is unlikely to even be possible to take given the
nature of the pipe it gets subprocess data from.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
all together and just include the repr of the data in the exception
itself instead of the useless string "Unknown".
This code path is unlikely to even be possible to take given the
nature of the pipe it gets subprocess data from.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
all together and just include the repr of the data in the exception
itself instead of the useless string "Unknown".
This code path is unlikely to even be possible to take given the
nature of the pipe it gets subprocess data from.
|
|/ /
| |
| |
| | |
odd rare errors coming from the subprocess module.
|
|\ \
| |/
| |
| |
| | |
happen" print() call into a RuntimeWarning as it should've been in the
first place. Because nothing should ever cause unexpected stdout output.
|
| |
| |
| |
| |
| | |
happen" print() call into a RuntimeWarning as it should've been in the
first place. Because nothing should ever cause unexpected stdout output.
|
|\ \
| |/
| |
| | |
used for stdin/stdout/stderr pipes to the child when fork() fails.
|
| |
| |
| |
| | |
used for stdin/stdout/stderr pipes to the child when fork() fails.
|
|\ \
| |/
| |
| | |
when not expected in subprocess.Popen.wait().
|
| |
| |
| |
| | |
not expected in subprocess.Popen.wait().
|
|\ \
| |/
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| |
| | |
to return a returncode of 0 when the child has already exited or cannot be
waited on.
|
| |
| |
| |
| |
| | |
to return a returncode of 0 when the child has already exited or cannot
be waited on.
|
|\ \
| |/
| |
| |
| |
| | |
for certain locales (utf-16 and utf-32 family).
Patch by Chris Jerdonek.
|
| |
| |
| |
| |
| |
| | |
for certain locales (utf-16 and utf-32 family).
Patch by Chris Jerdonek.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
with universal newlines true.
Patch by Chris Jerdonek.
|
| |
| |
| |
| | |
subprocess and trace modules.
|
| | |
|
| |
| |
| |
| |
| | |
that it can be imported when threads are disabled.
(followup to issue #12098)
|
| |
| |
| |
| |
| | |
_multiprocessing.win32 modules now live in a single module "_winapi".
Patch by sbt.
|
|\ \
| |/
| |
| | |
Windows when the child process has already exited.
|
| |
| |
| |
| | |
Windows when the child process has already exited.
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| | |
resources (FD/zombie) when killed at the wrong time.
|
| |
| |
| |
| | |
resources (FD/zombie) when killed at the wrong time.
|
| |
| |
| |
| | |
given as a low fd, it gets overwritten.
|
|\ \
| |/
| |
| | |
module: the piped streams can now be properly read from or written to.
|
| |
| |
| |
| |
| |
| |
| | |
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)
|
|\ \
| |/
| |
| |
| | |
subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.
|
| |
| |
| |
| |
| | |
subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.
|
|\ \
| |/
| |
| | |
environment variables, start with an empty environment.
|
| |
| |
| |
| | |
variables, start with an empty environment.
|
|\ \
| |/
| |
| |
| | |
if the constructor has failed, e.g. because of an undeclared keyword argument.
Patch written by Oleg Oshmyan.
|
| |
| |
| |
| |
| | |
constructor has failed, e.g. because of an undeclared keyword argument. Patch
written by Oleg Oshmyan.
|