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.

Author matthieu.labbe
Recipients matthieu.labbe, mrwizard82d1, orsenthil, ssbarnea
Date 2010-07-16.10:01:44
SpamBayes Score 0.03835321
Marked as misclassified No
Message-id <1279274506.7.0.144944595985.issue5808@psf.upfronthosting.co.za>
In-reply-to
Content
I think this is a bug: The doc says "Availability: UNIX." but it is *available* under Windows and gives an unexpected error message.

I see several way to fix this:
1) Fix the doc: "Supported only on UNIX. Behavior on other platforms is undefined."
2) Make subprocess.getstatusoutput (and subprocess.getoutput) unavailable on non-supported platforms. (Same behavior as the 'os' module.) 
3) Make these convenience functions multiplatform using subprocess.Popen.

I think the best thing to do is #3. What do you think?
History
Date User Action Args
2010-07-16 10:01:46matthieu.labbesetrecipients: + matthieu.labbe, orsenthil, ssbarnea, mrwizard82d1
2010-07-16 10:01:46matthieu.labbesetmessageid: <1279274506.7.0.144944595985.issue5808@psf.upfronthosting.co.za>
2010-07-16 10:01:44matthieu.labbelinkissue5808 messages
2010-07-16 10:01:44matthieu.labbecreate