Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | The SIGINT signal may happen earlier, during site.py initialization. | Florent Xicluna | 2010-03-23 | 1 | -4/+1 | |
| | ||||||
* | The standard error should be empty when the signal is killed, except on SIGINT. | Florent Xicluna | 2010-03-23 | 1 | -2/+8 | |
| | ||||||
* | Silence test_subprocess. | Florent Xicluna | 2010-03-23 | 1 | -24/+12 | |
| | ||||||
* | Revert r78830: realpath() should really be applied to sys.executable. | Florent Xicluna | 2010-03-11 | 1 | -1/+1 | |
| | ||||||
* | Fix the test_subprocess failure when sys.executable is meaningless: '' or a ↵ | Florent Xicluna | 2010-03-11 | 1 | -1/+1 | |
| | | | | | | directory. It does not fix #7774. | |||||
* | Replace the stderr logging with assertNotEqual(returncode, 0). | Florent Xicluna | 2010-03-08 | 1 | -4/+2 | |
| | ||||||
* | #2777: Try hard to make Win7 buildbot happy... | Florent Xicluna | 2010-03-07 | 1 | -2/+3 | |
| | ||||||
* | Do not fail if returncode is 0 on send_signal/kill/terminate, for win32 ↵ | Florent Xicluna | 2010-03-07 | 1 | -39/+44 | |
| | | | | | | platforms. Do not hide the KeyboardInterrupt on POSIX platforms. | |||||
* | #2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms. | Florent Xicluna | 2010-03-07 | 1 | -3/+0 | |
| | ||||||
* | Skip test_send_signal, test_kill, test_terminate on win32 platforms, for ↵ | Florent Xicluna | 2010-03-06 | 1 | -5/+11 | |
| | | | | 2.7a4 release. | |||||
* | #2777: Apply same recipe on win32, i.e. do not inherit file handles. | Florent Xicluna | 2010-03-06 | 1 | -3/+5 | |
| | ||||||
* | #2777: Apply same recipe for test_terminate and test_kill, i.e. close or ↵ | Florent Xicluna | 2010-03-06 | 1 | -2/+4 | |
| | | | | redirect fds. | |||||
* | #2777: Handle fds more carefully to try to fix some x86-Linux failures ↵ | Florent Xicluna | 2010-03-05 | 1 | -3/+6 | |
| | | | | (namely, neal bot and twisted bot). | |||||
* | These line should not be there. | Florent Xicluna | 2010-03-05 | 1 | -1/+0 | |
| | ||||||
* | Let's use assertIsNone / assertIsNotNone. It's hype. | Florent Xicluna | 2010-03-05 | 1 | -5/+5 | |
| | ||||||
* | Workaround #3137: Retry SIGINT if it is not received the first time. | Florent Xicluna | 2010-03-05 | 1 | -2/+13 | |
| | | | | test_send_signal should not hang anymore on various Linux distributions. | |||||
* | #2777: Enable test_send_signal, test_kill and test_terminate on all platforms. | Florent Xicluna | 2010-03-04 | 1 | -6/+20 | |
| | ||||||
* | Cleanup. | Florent Xicluna | 2010-03-04 | 1 | -5/+5 | |
| | ||||||
* | Fix the new test on windows (skip it, its posix only) | Gregory P. Smith | 2010-03-01 | 1 | -0/+1 | |
| | ||||||
* | Issue #1068268: The subprocess module now handles EINTR in internal | Gregory P. Smith | 2010-03-01 | 1 | -1/+21 | |
| | | | | os.waitpid and os.read system calls where appropriate. | |||||
* | Fix an oversight in r78508: p.wait() should be compared to 0 | Florent Xicluna | 2010-02-27 | 1 | -4/+4 | |
| | ||||||
* | Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a ↵ | Florent Xicluna | 2010-02-27 | 1 | -318/+299 | |
| | | | | custom helper assertStderrEqual. | |||||
* | #7712: add a temp_cwd context manager to test_support and use it in regrtest ↵ | Ezio Melotti | 2010-02-10 | 1 | -3/+16 | |
| | | | | to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch. | |||||
* | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -3/+3 | |
| | ||||||
* | #6416: Fix compilation of the select module on Windows, as well as ↵ | Amaury Forgeot d'Arc | 2009-07-09 | 1 | -1/+1 | |
| | | | | | | | | 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 that | Gregory P. Smith | 2009-07-04 | 1 | -1/+17 | |
| | | | | | | | | | | 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. | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -7/+7 | |
| | ||||||
* | #5179: don't leak PIPE fds when child execution fails. | Georg Brandl | 2009-02-14 | 1 | -0/+16 | |
| | ||||||
* | 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 | -0/+34 | |
| | | | | process on success or raise an exception on error. | |||||
* | Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until | Gregory P. Smith | 2008-05-26 | 1 | -5/+19 | |
| | | | | | | | the last reference to the Popen instance was dropped. Adding explicit close() calls fixes it. Candidate for backport to release25-maint. | |||||
* | fix issue2381: test_subprocess fails if your sys.executable is on a | Gregory P. Smith | 2008-05-17 | 1 | -2/+2 | |
| | | | | path with a space in it. | |||||
* | Disabled some unit tests for the upcoming release. See #2777 | Christian Heimes | 2008-05-06 | 1 | -6/+6 | |
| | ||||||
* | Added kill, terminate and send_signal to subprocess.Popen | Christian Heimes | 2008-04-19 | 1 | -0/+46 | |
| | | | | 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 | -0/+2 | |
| | | | | subprocess.list2cmdline (windows). | |||||
* | fix comment typos, use not arg instead of arg == "", add test coverage | Gregory P. Smith | 2008-01-19 | 1 | -0/+2 | |
| | | | | for inside of the final if needquotes: within subprocess.list2cmdline(). | |||||
* | Patch #1672 by Joseph Armbruster. Use tempdir() to get a temporary directory. | Guido van Rossum | 2007-12-20 | 1 | -1/+1 | |
| | ||||||
* | Applied patch 1669481, slightly modified: Support close_fds on Win32 | Peter Astrand | 2007-05-26 | 1 | -0/+8 | |
| | ||||||
* | Fix for bug #1634343: allow specifying empty arguments on Windows | Peter Astrand | 2007-01-13 | 1 | -0/+2 | |
| | ||||||
* | Fixed subprocess bug #1531862 again, after removing tests | Gustavo Niemeyer | 2006-09-07 | 1 | -0/+6 | |
| | | | | offending buildbot | |||||
* | Revert 51758 because it broke all the buildbots | Neal Norwitz | 2006-09-06 | 1 | -42/+0 | |
| | ||||||
* | Fixing #1531862: Do not close standard file descriptors in the | Gustavo Niemeyer | 2006-09-06 | 1 | -0/+42 | |
| | | | | subprocess module. | |||||
* | Whitespace normalization. | Tim Peters | 2006-08-02 | 1 | -1/+1 | |
| | ||||||
* | [Patch #1520905] Attempt to suppress core file created by test_subprocess.py. | Andrew M. Kuchling | 2006-08-01 | 1 | -2/+28 | |
| | | | | | | | | | Patch by Douglas Greiman. The test_run_abort() testcase produces a core file on Unix systems, even though the test is successful. This can be confusing or alarming to someone who runs 'make test' and then finds that the Python interpreter apparently crashed. | |||||
* | Bug #1223937: CalledProcessError.errno -> CalledProcessError.returncode. | Peter Astrand | 2006-07-14 | 1 | -1/+1 | |
| | ||||||
* | Make it possible to run test_subprocess.py with Python 2.2, which lacks ↵ | Peter Astrand | 2006-07-10 | 1 | -3/+6 | |
| | | | | test_support.reap_children(). | |||||
* | Whitespace normalization. | Tim Peters | 2006-06-30 | 1 | -4/+4 | |
| | ||||||
* | Add new utility function, reap_children(), to test_support. This should | Neal Norwitz | 2006-06-29 | 1 | -0/+11 | |
| | | | | | | | | | | be called at the end of each test that spawns children (perhaps it should be called from regrtest instead?). This will hopefully prevent some of the unexplained failures in the buildbots (hppa and alpha) during tests that spawn children. The problems were not reproducible. There were many zombies that remained at the end of several tests. In the worst case, this shouldn't cause any more problems, though it may not help either. Time will tell. | |||||
* | Make it possible to run test_subprocess.py on Python 2.2, which lacks ↵ | Peter Astrand | 2006-06-22 | 1 | -1/+2 | |
| | | | | test_support.is_resource_enabled. | |||||
* | Try to fix breakage caused by patch #1479181, r45850 | Neal Norwitz | 2006-05-02 | 1 | -2/+2 | |
| |