[Python-Dev] deprecate commands.getstatus() (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 23 02:44:26 CET 2007
- Previous message: [Python-Dev] deprecate commands.getstatus()
- Next message: [Python-Dev] deprecate commands.getstatus()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Titus Brown wrote:
I could add in a 'system'-alike call easily enough; that was suggested. But I think
returncode = subprocess.call("program") is pretty simple, isn't it?
Something to keep in mind is that system() doesn't directly launch a process running the command, it uses a shell. So it's not just simple sugar for some subprocess.* call.
-- Greg
- Previous message: [Python-Dev] deprecate commands.getstatus()
- Next message: [Python-Dev] deprecate commands.getstatus()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]