Where is getstatusoutput() in subprocess module?

Grant Edwards grant.b.edwards at gmail.com
Fri May 3 15:41:15 EDT 2019


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?

-- 
Grant Edwards               grant.b.edwards        Yow! How many retured
                                  at               bricklayers from FLORIDA
                              gmail.com            are out purchasing PENCIL
                                                   SHARPENERS right NOW??




More information about the Python-list mailing list