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
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to