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
3d8814e1
Commit
3d8814e1
authored
Jan 18, 2014
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
describe type of Popen streams (closes #17814)
Patch more or less by Nikolaus Rath.
parent
c3cf97b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
Doc/library/subprocess.rst
Doc/library/subprocess.rst
+16
-8
No files found.
Doc/library/subprocess.rst
View file @
3d8814e1
...
@@ -705,21 +705,29 @@ The following attributes are also available:
...
@@ -705,21 +705,29 @@ The following attributes are also available:
.. attribute:: Popen.stdin
.. attribute:: Popen.stdin
If the *stdin* argument was :data:`PIPE`, this attribute is a :term:`file
If the *stdin* argument was :data:`PIPE`, this attribute is a writeable
object` that provides input to the child process. Otherwise, it is ``None``.
stream object as returned by :func:`open`. If the *universal_newlines*
argument was ``True``, the stream is a text stream, otherwise it is a byte
stream. If the *stdin* argument was not :data:`PIPE`, this attribute is
``None``.
.. attribute:: Popen.stdout
.. attribute:: Popen.stdout
If the *stdout* argument was :data:`PIPE`, this attribute is a :term:`file
If the *stdout* argument was :data:`PIPE`, this attribute is a readable
object` that provides output from the child process. Otherwise, it is ``None``.
stream object as returned by :func:`open`. Reading from the stream provides
output from the child process. If the *universal_newlines* argument was
``True``, the stream is a text stream, otherwise it is a byte stream. If the
*stdout* argument was not :data:`PIPE`, this attribute is ``None``.
.. attribute:: Popen.stderr
.. attribute:: Popen.stderr
If the *stderr* argument was :data:`PIPE`, this attribute is a :term:`file
If the *stderr* argument was :data:`PIPE`, this attribute is a readable
object` that provides error output from the child process. Otherwise, it is
stream object as returned by :func:`open`. Reading from the stream provides
``None``.
error output from the child process. If the *universal_newlines* argument was
``True``, the stream is a text stream, otherwise it is a byte stream. If the
*stderr* argument was not :data:`PIPE`, this attribute is ``None``.
.. attribute:: Popen.pid
.. attribute:: Popen.pid
...
...
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