summaryrefslogtreecommitdiffstats
path: root/Doc/library/subprocess.rst
Commit message (Collapse)AuthorAgeFilesLines
* asyncio doc: rewrite subprocess docVictor Stinner2014-10-131-1/+1
| | | | | | | | | | | | | | | * add a new example using transport and protocol * rewrite the example using streams to make it much simpler (remove error handling, use a simpler Python code) * copy (and adapt) more documentation from the subprocess module: - add a note about Process.wait() deadlock - add a note about shell injection - etc. * sort Process methods and attributes in the same order than subprocess.Popen methods and attributes, so the documentation looks closer * list differences between Process and subprocess.Popen APIs
* Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line ↵Antoine Pitrou2014-09-211-6/+12
| | | | buffering, rather than block buffering.
* #21347: use string not list in shell=True example.R David Murray2014-05-141-1/+1
| | | | Patch by Akira.
* Change all references to Unix to POSIX in the subprocess docs. It'sGregory P. Smith2014-05-111-14/+14
| | | | more accurate and sounds less like a strange tale of yore.
* Remove the warning-soup from the subprocess documentation by addingGregory P. Smith2014-05-111-79/+48
| | | | | a Security Considerations section as preferred by both the devguide and documentation users who do not wish to go insane.
* Document the subprocess Popen.args attribute (issue21353)Gregory P. Smith2014-04-291-0/+6
|\
| * Document the subprocess Popen.args attribute (issue21353)Gregory P. Smith2014-04-291-0/+6
| |
| * remove unnecessary word (closes #19060)Benjamin Peterson2014-03-131-1/+1
| | | | | | | | Patch by Anastasia Filatova.
| * #10197: Update get[status]output versionchanged with actual version.R David Murray2014-03-081-4/+8
| | | | | | | | | | | | | | | | | | | | | | This was perhaps on the border between a bug fix and a feature since the Python3 docs did not originally say it was unix only. However, the functions never worked anywhere but unix, and the docs were changed to say it was unix only well before the windows support was added. Unfortunately, windows support was added in 3.3.4 as well as 3.4. That leaves us in the uncomfortable position of needing the tag to say "version changed: 3.3.4" :(
* | Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-4/+19
| |
* | merge 3.3 (#19060)Benjamin Peterson2014-03-131-1/+1
| |
* | merge 3.3Benjamin Peterson2014-01-181-1/+1
|\ \ | |/
| * rm extra whitespaceBenjamin Peterson2014-01-181-1/+1
| |
* | merge 3.3Benjamin Peterson2014-01-181-6/+6
|\ \ | |/
| * link to builtin open not io.openBenjamin Peterson2014-01-181-6/+6
| |
* | merge 3.3 (#17814)Benjamin Peterson2014-01-181-8/+16
|\ \ | |/
| * describe type of Popen streams (closes #17814)Benjamin Peterson2014-01-181-8/+16
| | | | | | | | Patch more or less by Nikolaus Rath.
* | Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-2/+2
|\ \ | |/
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-2/+2
| |
* | merge with 3.3Georg Brandl2013-11-261-1/+0
|\ \ | |/
| * Markup fix.Georg Brandl2013-11-261-1/+0
| |
* | merge with 3.3Georg Brandl2013-11-251-5/+5
|\ \ | |/
| * Closes #19622: clarify message about bufsize changes in 3.2.4 and 3.3.1.Georg Brandl2013-11-251-5/+5
| |
* | Issue #10197 Tweak docs for subprocess.getstatusoutput and align the ↵Tim Golden2013-11-051-3/+3
| | | | | | | | documentation, the module docstring, and the function docstring.
* | Issue #10197: Indicate availability of subprocess.get[status]output on ↵Tim Golden2013-11-031-6/+10
|\ \ | |/ | | | | Windows and add a note about the effects of universal newlines
| * Issue #10197: Indicate availability of subprocess.get[status]output on ↵Tim Golden2013-11-031-6/+10
| | | | | | | | Windows and add a note about the effects of universal newlines
* | Issue #18757: Improved cross-references in the concurrent package.Serhiy Storchaka2013-08-231-9/+9
|\ \ | |/
| * Issue #18757: Improved cross-references in the concurrent package.Serhiy Storchaka2013-08-231-9/+9
| |
* | (3.3->default) Cleanup of documentation change from #17860Ronald Oussoren2013-07-071-4/+7
|\ \ | |/ | | | | Reformulated the textual change, and applied it to the docstring as well.
| * Cleanup of documentation change from #17860Ronald Oussoren2013-07-071-4/+7
| | | | | | | | Reformulated the textual change, and applied it to the docstring as well.
* | (3.3->default) Issue #17860: explicitly mention that std* streams are opened ↵Ronald Oussoren2013-07-061-2/+4
|\ \ | |/ | | | | | | | | | | | | | | in binary mode by default. The documentation does mention that the streams are opened in text mode when univeral_newlines is true, but not that that they are opened in binary mode when that argument is false and that seems to confuse at least some users.
| * Issue #17860: explicitly mention that std* streams are opened in binary mode ↵Ronald Oussoren2013-07-061-2/+4
| | | | | | | | | | | | | | | | | | by default. The documentation does mention that the streams are opened in text mode when univeral_newlines is true, but not that that they are opened in binary mode when that argument is false and that seems to confuse at least some users.
* | Issue #16624: `subprocess.check_output` now accepts an `input` argument,Serhiy Storchaka2013-04-221-8/+18
| | | | | | | | | | allowing the subprocess's stdin to be provided as a (byte) string. Patch by Zack Weinberg.
* | Merge with 3.3.Georg Brandl2013-03-281-0/+2
|\ \ | |/
| * Closes #4159: add LaTeX tabular column specifications to tables that ↵Georg Brandl2013-03-281-0/+2
| | | | | | | | otherwise are cut off or have overlapping text.
* | Fixes issue #17488: Change the subprocess.Popen bufsize parameter default valueGregory P. Smith2013-03-231-10/+13
|\ \ | |/ | | | | | | | | from unbuffered (0) to buffering (-1) to match the behavior existing code expects and match the behavior of the subprocess module in Python 2 to avoid introducing hard to track down bugs.
| * Fixes issue #17488: Change the subprocess.Popen bufsize parameter default valueGregory P. Smith2013-03-231-10/+13
| |\ | | | | | | | | | | | | | | | from unbuffered (0) to buffering (-1) to match the behavior existing code expects and match the behavior of the subprocess module in Python 2 to avoid introducing hard to track down bugs.
| | * Fixes issue #17488: Change the subprocess.Popen bufsize parameter default valueGregory P. Smith2013-03-231-10/+13
| | | | | | | | | | | | | | | | | | from unbuffered (0) to buffering (-1) to match the behavior existing code expects and match the behavior of the subprocess module in Python 2 to avoid introducing hard to track down bugs.
* | | mergeGregory P. Smith2013-03-211-5/+3
|\ \ \ | |/ /
| * | mergeGregory P. Smith2013-03-211-5/+3
| |\ \ | | |/
| | * remove the long obsolete mention of universal newlines mode only beingGregory P. Smith2013-03-211-5/+3
| | | | | | | | | | | | available when configured at compile time.
| | * Issue #16903: Popen.communicate() on Unix now accepts strings whenSerhiy Storchaka2013-02-041-3/+4
| | | | | | | | | | | | universal_newlines is true as on Windows.
* | | clarifiy the documentation for issue17285. see also commitGregory P. Smith2013-03-201-1/+1
|\ \ \ | |/ / | | | | | | ee30400efceb which updated the docstring.
| * | clarifiy the documentation for issue17285. see also commitGregory P. Smith2013-03-201-1/+1
| | | | | | | | | | | | ee30400efceb which updated the docstring.
* | | #16921 Since Win9x is no longer supported, CREATE_NEW_CONSOLE isTim Golden2013-01-111-2/+0
|/ / | | | | | | no longer implied by shell=True
* | #10385: merge with 3.2.Ezio Melotti2012-11-081-5/+5
|\ \ | |/
| * #10385: use the mod role in subprocess docs.Ezio Melotti2012-11-081-5/+5
| |
* | Issue #14616: Mention shlex.quote in subprocess docs.Andrew Svetlov2012-10-281-0/+4
| | | | | | | | Patch by Chris Rebert.
* | Merge from 3.2: Fix placement of shell=True warning in subprocess.Popen() docs.Chris Jerdonek2012-10-111-8/+8
|\ \ | |/
| * Fix placement of shell=True warning in subprocess.Popen() docs.Chris Jerdonek2012-10-111-8/+8
| |