Re: Equivalent of system()?

2008-02-23 Thread subeen
This link may help: http://love-python.blogspot.com/2008/02/execute-linux-commands-in-python.html On Feb 23, 10:44 am, Max <[EMAIL PROTECTED]> wrote: > Is there a Python equivalent of C++'s system()? > > TIA -- http://mail.python.org/mailman/listinfo/python-list

Re: Equivalent of system()?

2008-02-22 Thread Max
Thanks for the help! -- http://mail.python.org/mailman/listinfo/python-list

Re: Equivalent of system()?

2008-02-22 Thread Jeff Schwab
Max wrote: > Is there a Python equivalent of C++'s system()? More or less. You probably want subprocess.Popen: >>> import subprocess >>> subprocess.Popen("echo hello", shell=True) hello http://docs.python.org/lib/node533.html#CHILD_LINKS -- http://mail.python.org/mailman/listinfo/python-lis

Re: Equivalent of system()?

2008-02-22 Thread Grant Edwards
On 2008-02-23, Max <[EMAIL PROTECTED]> wrote: > Is there a Python equivalent of C++'s system()? The closest thing is probably system(). It's in the os module. -- Grant -- http://mail.python.org/mailman/listinfo/python-list

Equivalent of system()?

2008-02-22 Thread Max
Is there a Python equivalent of C++'s system()? TIA -- http://mail.python.org/mailman/listinfo/python-list