subprocess.getstatusoutput does not exist in 2.7
Cecil Westerhof
Cecil at decebal.nl
Tue May 19 13:11:46 EDT 2015
At the moment I want my code to run with 2.7 and 3.4+.
But the command:
subprocess.getstatusoutput
does not exist in 2.7. Is this an oversight or is there a reason for
it?
I can rewrite the code (back) to work with Popen again, but I found
the getstatusoutput elegant.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
More information about the Python-list
mailing list