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
>
> --
>  http://mail.python.org/mailman/listinfo/python-list
>


-- 
Rafael Sachetto Oliveira

Sir - Simple Image Resizer
http://rsachetto.googlepages.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to