[python-win32] Launch process
Gabriel Genellina
gagsl-p32 at yahoo.com.ar
Wed Jan 24 18:18:17 CET 2007
At Wednesday 24/1/2007 05:40, le dahut wrote:
>What's the best way to launch a process and waiting for its exit code ?
>I'm looking for something that can take win32con.SW_HIDE as argument
>(os.spawnv don't).
CreateProcess and then WaitForSingleEvent on the process handle.
Remember to close the thread and process handles when not needed.
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
More information about the Python-win32
mailing list