Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Doc: add missing capture_output arg to subprocess.run() signature (#8374) | Andriy Maletsky | 2018-08-09 | 1 | -2/+2 |
| | |||||
* | versionadded -> versionchanged for all 'X parameter was added' for ↵ | Sergey Fedoseev | 2018-07-06 | 1 | -1/+1 |
| | | | | | | uniformity. (GH8114) Per the recommendation in our Developer's Guide: https://devguide.python.org/documenting/#paragraph-level-markup | ||||
* | bpo-32392: Document env keyword argument of subprocess.run() (GH-7289) | Tobias Kunze | 2018-06-05 | 1 | -1/+6 |
| | |||||
* | Clarify fd inheritance when close_fds=False. (GH-6240) | Gregory P. Smith | 2018-03-25 | 1 | -1/+4 |
| | | | Clarify the subprocess documentation. | ||||
* | Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" (#5912) | Serhiy Storchaka | 2018-02-27 | 1 | -10/+6 |
| | | | | | | * Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" This reverts commit dd42cb71f2cb02f3a32f016137b12a146bc0d0e2. | ||||
* | bpo-32815: Improve docs on the subprocess API *text* parameter (GH-5622) | Pablo Galindo | 2018-02-11 | 1 | -8/+15 |
| | | | Describe *text* as an alias for *universal_newlines* in more places that people are likely to be referred to. | ||||
* | bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564) | Brice Gros | 2018-02-07 | 1 | -0/+3 |
| | | | Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6. | ||||
* | bpo-31961: subprocess now accepts path-like args (GH-4329) | Anders Lorentsen | 2018-01-30 | 1 | -6/+10 |
| | | | Allow os.PathLike args in subprocess APIs. | ||||
* | bpo-32102 Add "capture_output=True" to subprocess.run (GH-5149) | Bo Bayles | 2018-01-30 | 1 | -8/+11 |
| | | | | Add "capture_output=True" option to subprocess.run, this is equivalent to setting stdout=PIPE, stderr=PIPE but is much more readable. | ||||
* | bpo-19764: Implemented support for subprocess.Popen(close_fds=True) on ↵ | Segev Finer | 2017-12-18 | 1 | -6/+36 |
| | | | | | | | | | | | | | | | | | Windows (#1218) Even though Python marks any handles it opens as non-inheritable there is still a race when using `subprocess.Popen` since creating a process with redirected stdio requires temporarily creating inheritable handles. By implementing support for `subprocess.Popen(close_fds=True)` we fix this race. In order to implement this we use PROC_THREAD_ATTRIBUTE_HANDLE_LIST which is available since Windows Vista. Which allows to pass an explicit list of handles to inherit when creating a process. This commit also adds `STARTUPINFO.lpAttributeList["handle_list"]` which can be used to control PROC_THREAD_ATTRIBUTE_HANDLE_LIST directly. | ||||
* | bpo-31884 subprocess: add Windows constants for process priority (#4150) | James | 2017-11-08 | 1 | -4/+94 |
| | |||||
* | bpo-31756: subprocess.run should alias universal_newlines to text (#4049) | andyclegg | 2017-10-23 | 1 | -7/+12 |
| | | | | | | | | | Improve human friendliness of the Popen API: Add text=False as a keyword-only argument to subprocess.Popen along with a Popen attribute .text_mode and set this based on the encoding/errors/universal_newlines/text arguments. The universal_newlines parameter and attribute are maintained for backwards compatibility. | ||||
* | bpo-22635: subprocess.getstatusoutput doc update. (#3398) | Gregory P. Smith | 2017-09-07 | 1 | -7/+12 |
| | | | | | The `subprocess.getstatusoutput` API was inadvertently changed in Python 3.3.4. Document the change, it is too late to undo the API change now as it has shipped in many stable releases. | ||||
* | bpo-31065: Add doc about Popen.poll returning None. (#3169) | Ivan Chernoff | 2017-08-29 | 1 | -1/+1 |
| | |||||
* | bpo-30420: List cwd parameter in subprocess convenience APIs (GH-1685) | Alex Gaynor | 2017-05-26 | 1 | -4/+4 |
| | | | | | | | | | | Partially clarify the subprocess convenience API documentation by explicitly listing the `cwd` parameter in their abbreviated signatures. While this has been merged as an improvement, it doesn't fully resolve the issue, as the `cwd` should also be covered in the "Frequently Used Arguments" section, and the fact these APIs pass unlisted keyword arguments down to the lower level APIs is currently still unclear. | ||||
* | Tweak subprocess.STARTUPINFO documentation (#347) | Berker Peksag | 2017-03-01 | 1 | -5/+7 |
| | | | | * Document STARTUPINFO constructor * Move versionchanged directive to above of attributes | ||||
* | bpo-28624: Add a test that checks that cwd parameter of Popen() accepts ↵ | Sayan Chowdhury | 2017-02-26 | 1 | -3/+7 |
| | | | | PathLike objects (#157) | ||||
* | bpo-26128: Added __init__to subprocess.STARTUPINFO (#171) | Subhendu Ghosh | 2017-02-25 | 1 | -1/+4 |
| | | | | | | | The Windows-specific subprocess.STARTUPINFO class now accepts keyword-only arguments to its constructor to set the various data attributes. Patch by Subhendu Ghosh. | ||||
* | issue 20572: remove the deprecation notice for the deleted endtime parameter. | Gregory P. Smith | 2016-11-21 | 1 | -6/+0 |
| | |||||
* | Issue #19795: Improved more markups of True/False. | Serhiy Storchaka | 2016-10-19 | 1 | -4/+4 |
|\ | |||||
| * | Issue #19795: Improved more markups of True/False. | Serhiy Storchaka | 2016-10-19 | 1 | -1/+1 |
| | | |||||
* | | Issue #19795: Mark up True and False as literal text instead of bold. | Serhiy Storchaka | 2016-10-19 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #19795: Mark up True and False as literal text instead of bold. | Serhiy Storchaka | 2016-10-19 | 1 | -2/+2 |
| | | |||||
* | | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -3/+3 |
| | | |||||
* | | Issue #6135: Adds encoding and errors parameters to subprocess | Steve Dower | 2016-09-07 | 1 | -40/+63 |
| | | |||||
* | | Issue #26462: Merge code block fixes from 3.5 | Martin Panter | 2016-07-29 | 1 | -7/+14 |
|\ \ | |/ | |||||
| * | Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting. | Martin Panter | 2016-07-26 | 1 | -7/+14 |
| | | | | | | | | Patch by Julien Palard. | ||||
* | | Merge Issue #22558. | Terry Jan Reedy | 2016-06-11 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | Issue #22558: Add remaining doc links to source code for Python-coded modules. | Terry Jan Reedy | 2016-06-11 | 1 | -0/+4 |
| | | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi. | ||||
* | | merge 3.5 | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-06-03 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Document that CalledProcessError.returncode is the negative | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-06-03 | 1 | -1/+2 |
| | | | | | | | | signal number when the process died due to a signal. | ||||
* | | subprocess now emits a ResourceWarning warning | Victor Stinner | 2016-05-20 | 1 | -0/+4 |
|/ | | | | | Issue #26741: subprocess.Popen destructor now emits a ResourceWarning warning if the child process is still running. | ||||
* | Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵ | Georg Brandl | 2016-02-26 | 1 | -4/+4 |
| | | | | to SilentGhost for the patch. | ||||
* | Merge: #24998: fix cut and paste error in subprocess example. | R David Murray | 2015-09-04 | 1 | -1/+1 |
|\ | |||||
| * | #24998: fix cut and paste error in subprocess example. | R David Murray | 2015-09-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #24420: Fix documentation regression introduced by f0a00ee094ff. | Berker Peksag | 2015-07-25 | 1 | -3/+19 |
| | | | | | | | | | | | | These functions accept same arguments as subprocess.Popen(). Patch by Martin Panter. | ||||
* | | properly wrap | Benjamin Peterson | 2015-04-15 | 1 | -2/+2 |
| | | |||||
* | | Add a subprocess.run() function than returns a CalledProcess instance for a | Gregory P. Smith | 2015-04-14 | 1 | -119/+170 |
| | | | | | | | | | | more consistent API than the existing call* functions. (enhancement from issue 23342) | ||||
* | | Merge 3.4 (asyncio doc) | Victor Stinner | 2014-10-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | asyncio doc: rewrite subprocess doc | Victor Stinner | 2014-10-13 | 1 | -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 Pitrou | 2014-09-21 | 1 | -6/+12 |
|\ \ | |/ | | | | | buffering, rather than block buffering. | ||||
| * | Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line ↵ | Antoine Pitrou | 2014-09-21 | 1 | -6/+12 |
| | | | | | | | | buffering, rather than block buffering. | ||||
* | | Merge: #21347: use string not list in shell=True example. | R David Murray | 2014-05-14 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #21347: use string not list in shell=True example. | R David Murray | 2014-05-14 | 1 | -1/+1 |
| | | | | | | | | Patch by Akira. | ||||
* | | merge from 3.4 - clean up the subprocess docs warning-soup and | Gregory P. Smith | 2014-05-11 | 1 | -93/+62 |
|\ \ | |/ | | | | | s/Unix/POSIX/. | ||||
| * | Change all references to Unix to POSIX in the subprocess docs. It's | Gregory P. Smith | 2014-05-11 | 1 | -14/+14 |
| | | | | | | | | more accurate and sounds less like a strange tale of yore. | ||||
| * | Remove the warning-soup from the subprocess documentation by adding | Gregory P. Smith | 2014-05-11 | 1 | -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. Smith | 2014-04-29 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | Document the subprocess Popen.args attribute (issue21353) | Gregory P. Smith | 2014-04-29 | 1 | -0/+6 |
| |\ |