summaryrefslogtreecommitdiff
path: root/Doc/library/subprocess.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #26462: Merge code block fixes from 3.5Martin Panter2016-07-291-7/+14
|\
| * Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-7/+14
| | | | | | | | Patch by Julien Palard.
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+4
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+4
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | merge 3.5Gregory P. Smith2016-06-031-0/+4
|\ \ | |/ |/|
| * subprocess now emits a ResourceWarning warningVictor Stinner2016-05-201-0/+4
| | | | | | | | | | Issue #26741: subprocess.Popen destructor now emits a ResourceWarning warning if the child process is still running.
* | Document that CalledProcessError.returncode is the negativeGregory P. Smith2016-06-031-1/+2
|/ | | | signal number when the process died due to a signal.
* Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-4/+4
| | | | to SilentGhost for the patch.
* Merge: #24998: fix cut and paste error in subprocess example.R David Murray2015-09-041-1/+1
|\
| * #24998: fix cut and paste error in subprocess example.R David Murray2015-09-041-1/+1
| |
* | Issue #24420: Fix documentation regression introduced by f0a00ee094ff.Berker Peksag2015-07-251-3/+19
| | | | | | | | | | | | These functions accept same arguments as subprocess.Popen(). Patch by Martin Panter.
* | properly wrapBenjamin Peterson2015-04-141-2/+2
| |
* | Add a subprocess.run() function than returns a CalledProcess instance for aGregory P. Smith2015-04-141-119/+170
| | | | | | | | | | more consistent API than the existing call* functions. (enhancement from issue 23342)
* | Merge 3.4 (asyncio doc)Victor Stinner2014-10-141-0/+1
|\ \ | |/ |/|
| * Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line ↵Antoine Pitrou2014-09-211-0/+1
| |\ | | | | | | | | | buffering, rather than block buffering.
| | * Merge: #21347: use string not list in shell=True example.R David Murray2014-05-141-1/+1
| | |\
| | * \ merge from 3.4 - clean up the subprocess docs warning-soup andGregory P. Smith2014-05-111-93/+62
| | |\ \ | | | | | | | | | | | | | | | s/Unix/POSIX/.
| | * \ \ Document the subprocess Popen.args attribute (issue21353)Gregory P. Smith2014-04-291-0/+6
| | |\ \ \
| | * | | | #10481: describe universal_newlines' effect on communicate()/check_output() ↵Andrew Kuchling2014-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | output (alternately bytes or strings) Patch by Sam Kimbrel.
* | | | | | asyncio doc: rewrite subprocess docVictor Stinner2014-10-141-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-121-1/+1
| | | | | | | | Patch by Anastasia Filatova.
| * #10197: Update get[status]output versionchanged with actual version.R David Murray2014-03-071-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-151-4/+19
| |
* | merge 3.3 (#19060)Benjamin Peterson2014-03-121-1/+1
| |
* | merge 3.3Benjamin Peterson2014-01-181-13/+21
|\ \ | |/ |/|
| * merge 3.3Benjamin Peterson2014-01-181-13/+21
| |\
| | * merge 3.3 (#17814)Benjamin Peterson2014-01-181-13/+21
| | |\
| | | * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-2/+2
| | | |\
| | | * \ merge with 3.3Georg Brandl2013-11-261-13/+21
| | | |\ \
| | | | * \ merge with 3.3Georg 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 #18757: Improved cross-references in the concurrent package.Serhiy Storchaka2013-08-241-9/+9
| | | | |\ \ \ \
| | | | * \ \ \ \ (3.3->default) Cleanup of documentation change from #17860Ronald Oussoren2013-07-071-10/+18
| | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-10/+18
| | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #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
| | | | | | |\ \ \ \ \
| | | | | | * \ \ \ \ \ 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-201-5/+3
| | | | | | |\ \ \ \ \ \ \
| | | | | | * \ \ \ \ \ \ \ clarifiy the documentation for issue17285. see also commitGregory P. Smith2013-03-191-2/+0
| | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | rm extra whitespaceBenjamin Peterson2014-01-181-1/+1
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | link to builtin open not io.openBenjamin Peterson2014-01-181-6/+6
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | describe type of Popen streams (closes #17814)Benjamin Peterson2014-01-181-8/+16
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch more or less by Nikolaus Rath.