Rafael Sachetto wrote:
> os.system(command)
>
> or
>
> proc = popen2.Popen3(command)
> proc.wait()
I don't know about "cleanly terminat[ing] the command shell", but you
should use the subprocess module now, not any of the other functions
scattered around.
--
--
http://mail.python.org/mailman/l
os.system(command)
or
proc = popen2.Popen3(command)
proc.wait()
2008/2/15, black_13 <[EMAIL PROTECTED]>:
> how do i exec a command (such as xcopy) from with win32 python and
> wait on that command
> to come to completion? and also cleanly terminate the command shell?
> thanks
> black_13
>
>
how do i exec a command (such as xcopy) from with win32 python and
wait on that command
to come to completion? and also cleanly terminate the command shell?
thanks
black_13
--
http://mail.python.org/mailman/listinfo/python-list