How do I execute a command from within python and wait on that command?

Rafael Sachetto rsachetto at
Fri Feb 15 18:56:04 CET 2008



proc = popen2.Popen3(command)

2008/2/15, black_13 <jjosburn at>:
> 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
> --

Rafael Sachetto Oliveira

Sir - Simple Image Resizer

More information about the Python-list mailing list