This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Clarification needed for subprocess convenience functions in Python 3.0 documentation
Type: Stage:
Components: Documentation Versions: Python 3.0
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: Erik Sternerson, georg.brandl, matthieu.labbe
Priority: normal Keywords:

Created on 2008-12-18 22:38 by Erik Sternerson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg78044 - (view) Author: Erik Sternerson (Erik Sternerson) Date: 2008-12-18 22:38
There are two new convenience functions in the subprocess module since
Python 3.0, getstatusoutput and getoutput. These are UNIX ONLY functions
(as per note "# NB This only works (and is only relevant) for UNIX." in

I believe the documentation page does not reflect this
sufficiently (not sure it does at all).

I suggest a note should be added saying "Availability: UNIX" to the two
functions mentioned.
msg78381 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-12-27 19:08
Thanks, fixed in r67962.
msg110425 - (view) Author: Matthieu Labbé (matthieu.labbe) Date: 2010-07-16 10:09
I think "Availability: UNIX" is incorrect: it is *available* under Windows and gives an unexpected error message.

msg110426 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-07-16 10:31
Well, "available" in this case can also mean that it doesn't work.
Date User Action Args
2022-04-11 14:56:43adminsetgithub: 48947
2010-07-16 10:31:09georg.brandlsetmessages: + msg110426
2010-07-16 10:09:39matthieu.labbesetnosy: + matthieu.labbe
messages: + msg110425
2008-12-27 19:08:21georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg78381
2008-12-18 22:38:45Erik Sternersoncreate