17 Commits

Author SHA1 Message Date
Martin v. Löwis
0cc3ea620c Revert the following revisions, as they don't fix security
problems:
52448, 52468, 52472, 52475, 52646, 52797, 52802, 52863, 52999, 53001,
53101, 53371, 53373, 53383, 53384, 53736, 53812, 53921, 55578, 55580,
55581, 55772, 55775, 56557, 57093, 57094, 58630, 60114
2008-03-02 17:47:51 +00:00
Gregory P. Smith
0e42f0e799 Backport r60104 + r60111 from trunk.
- Issue #1336: fix a race condition in subprocess.Popen if the garbage
  collector kicked in at the wrong time that would cause the process
  to hang when the child wrote to stderr.
2008-01-19 22:35:09 +00:00
Peter Astrand
651752502e Applied patch #1506758: Prevent MemoryErrors with large MAXFD. Backport of 47077. 2006-06-22 20:28:33 +00:00
Georg Brandl
bf1f7683ab Bug #1500293: fix memory leaks in _subprocess module.
(backport from rev. 46651)
2006-06-04 22:15:45 +00:00
Peter Astrand
965f323f86 Changed header to match the HEAD version:
* Added note about Python 2.2 compatibility.

* Changed license header: Now simply referring to PSF. This closes bug
  1138653.
2005-09-23 17:42:36 +00:00
Peter Astrand
6d8e826c51 Corrected bug in list2cmdline wrt backslashes. Fixes #1083306. 2005-03-03 21:11:06 +00:00
Peter Astrand
5e59063ea9 On UNIX, when the execution of the child fails, we must waitpid() to
prevent leaving zombies.
2005-01-01 09:32:16 +00:00
Peter Astrand
9bff72f0a1 Raise TypeError if bufsize argument is not an integer. Patch 1071755, slightly modified. 2004-12-05 20:05:04 +00:00
Peter Astrand
61daf0ba44 Corrected example for replacing shell pipeline. Fixes bug 1073790. 2004-11-30 18:11:37 +00:00
Peter Astrand
c1d6536d60 When using shell=True on Windows, don't display a shell window by default. Fixes #1057061. 2004-11-07 14:30:34 +00:00
Raymond Hettinger
837dd93e3b Fix docstring formatting of escape sequences. 2004-10-17 16:36:53 +00:00
Fredrik Lundh
15aaacc93e return codes are available on all platforms, not just on Unix 2004-10-17 14:47:05 +00:00
Fredrik Lundh
3e73a011d9 Replace dynamic try/except with "if 0", to keep py2exe happy. If you
want to use pywin32 instead of _subprocess, you have to edit the file.
2004-10-13 18:19:18 +00:00
Tim Peters
e8374a55c4 Folded long lines. 2004-10-13 03:15:00 +00:00
Tim Peters
e718f615b8 Whitespace normalization. 2004-10-12 21:51:32 +00:00
Andrew M. Kuchling
51ee66e611 Typo fix 2004-10-12 16:38:42 +00:00
Fredrik Lundh
5b3687df2e Added Peter Astrand's subprocess module. 2004-10-12 15:26:28 +00:00