En Tue, 26 Aug 2008 11:50:04 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribi�:

Hi !
I want use many comands in same python script .
I want to use openoffice and pyuno .
I try this
cmdoo="openoffice.org -accept='socket,host=localhost,port=2002;urp;'"
subprocess.call(cmdoo, shell=True)
but i need to execute another comand and need to stop subprocess

Instead of subprocess.call, use subprocess.Popen and later wait() for the processes to finish.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to