Re: os.system questions



In article <mailman.5804.1175341245.32031.python-list@xxxxxxxxxx>,
Eric Price <soyouthinkimgonnalikethis@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx) <*> http://www.pythoncraft.com/

Need a book? Use your library!
.



Relevant Pages