Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
eab4df58
Commit
eab4df58
authored
Sep 15, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#15789: mention shell-like parts of the stdlib in the subprocess docs. Patch by Chris Rebert.
parent
a733d814
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
Doc/library/subprocess.rst
Doc/library/subprocess.rst
+8
-4
No files found.
Doc/library/subprocess.rst
View file @
eab4df58
...
@@ -227,11 +227,15 @@ default values. The arguments that are most commonly needed are:
...
@@ -227,11 +227,15 @@ default values. The arguments that are most commonly needed are:
``True`` then all line endings will be converted to ``'\n'`` as described
``True`` then all line endings will be converted to ``'\n'`` as described
for the :term:`universal newlines` `'U'`` mode argument to :func:`open`.
for the :term:`universal newlines` `'U'`` mode argument to :func:`open`.
If *shell* is
:const:`True
`, the specified command will be executed through
If *shell* is
``True`
`, the specified command will be executed through
the shell. This can be useful if you are using Python primarily for the
the shell.
This can be useful if you are using Python primarily for the
enhanced control flow it offers over most system shells and still want
enhanced control flow it offers over most system shells and still want
access to other shell features such as filename wildcards, shell pipes and
convenient access to other shell features such as shell pipes, filename
environment variable expansion.
wildcards, environment variable expansion, and expansion of ``~`` to a
user's home directory. However, note that Python itself offers
implementations of many shell-like features (in particular, :mod:`glob`,
:mod:`fnmatch`, :func:`os.walk`, :func:`os.path.expandvars`,
:func:`os.path.expanduser`, and :mod:`shutil`).
.. warning::
.. warning::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment