Exeucte a system command in python script

ken.carlino at gmail.com ken.carlino at gmail.com
Thu Jun 8 21:15:48 EDT 2006


Hi,

I would like to execute a shell command like this in python:
cmd = 'ant release -Dbuild=build_proxyonly -Drev=5.1.130f
-Dprops=\"-MIDP20_LARGE;PUSH_FEATURE=false;MIDlet-Version=5.0;version=5.0;MIDlet-Icon=midicon15x15.png;-FOUR_WAY_NAV_FEATURE\"
-DThree_Branding=true'

Which of the execl command described here should I use?
http://pydoc.org/1.6/os.html

Thank you for any help.




More information about the Python-list mailing list