Where is getstatusoutput() in subprocess module?

MRAB python at mrabarnett.plus.com
Fri May 3 16:59:49 EDT 2019


On 2019-05-03 20:41, Grant Edwards wrote:
> I'm trying to update a python2 app to make it python3 compatible. It
> uses commands.getstatusoutput(), which according to
> 
> https://docs.python.org/2/library/commands.html#commands.getstatusoutput
> 
> ... getstatusoutput() and getoutput() have been moved to the subprocess module.
> 
> Where are they?
> 
Here:

https://docs.python.org/3/library/subprocess.html#subprocess.getstatusoutput



More information about the Python-list mailing list