diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-06-09 00:44:22 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-06-09 00:44:22 (GMT) |
commit | ccb9d4b21c37183c1e2e10cd14e4f734157c153f (patch) | |
tree | 73c50af7f340a9b8580f1684569f108b578fef59 /Doc/library/os.rst | |
parent | a5a5728cf01446f70c3bd09cc85453fdec71d461 (diff) | |
download | cpython-ccb9d4b21c37183c1e2e10cd14e4f734157c153f.zip cpython-ccb9d4b21c37183c1e2e10cd14e4f734157c153f.tar.gz cpython-ccb9d4b21c37183c1e2e10cd14e4f734157c153f.tar.bz2 |
Issue 2947: document how return code handling translates from
os.popen to subprocess. Also fixes reference link in the
os.spawn documentation.
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index fc6f654..4dcb8591 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1715,8 +1715,8 @@ written in Python, such as a mail server's external command delivery program. (Note that the :mod:`subprocess` module provides more powerful facilities for spawning new processes and retrieving their results; using that module is - preferable to using these functions. Check specially the *Replacing Older - Functions with the subprocess Module* section in that documentation page.) + preferable to using these functions. Check especially the + :ref:`subprocess-replacements` section.) If *mode* is :const:`P_NOWAIT`, this function returns the process id of the new process; if *mode* is :const:`P_WAIT`, returns the process's exit code if it |