Message110424
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? |
|
Date |
User |
Action |
Args |
2010-07-16 10:01:46 | matthieu.labbe | set | recipients:
+ matthieu.labbe, orsenthil, ssbarnea, mrwizard82d1 |
2010-07-16 10:01:46 | matthieu.labbe | set | messageid: <1279274506.7.0.144944595985.issue5808@psf.upfronthosting.co.za> |
2010-07-16 10:01:44 | matthieu.labbe | link | issue5808 messages |
2010-07-16 10:01:44 | matthieu.labbe | create | |
|