os.system questions
Aahz
aahz at pythoncraft.com
Sat Mar 31 12:33:39 EDT 2007
In article <mailman.5804.1175341245.32031.python-list at python.org>,
Eric Price <soyouthinkimgonnalikethis at hotmail.com> wrote:
>
>I have a couple bugs to work out in the below script; namely, I don't
>know how to capture the result of an os.system command, nor am I
>convinced that the call to os.system actually results in the execution
>of the command. Here is the script:
Although you've already figured out the problem, I'll just make the
standard recommendation for the subprocess module, assuming you have
Python 2.4 or later.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Need a book? Use your library!
More information about the Python-list
mailing list