[Python-Dev] deprecate commands.getstatus()
greg.ewing at canterbury.ac.nz
Fri Mar 23 02:29:04 CET 2007
Guido van Rossum wrote:
> I wonder if we should even get rid of os.system(); then there should
> be a subprocess.system() instead.
That sounds okay, since system() isn't actually a system call,
despite its name.
> And do we even need os.fork(), os.exec*(), os.spawn*()?
Since fork() and exec() are directly wrapping actual system
calls, I think they should stay in os. I'm not sure about
spawn() -- on Unix it's not a direct system call, but it
might be on Windows.
More information about the Python-Dev