At Wednesday 22/11/2006 22:05, Podi wrote:
Some update...
I just found out that the following seems to work,
import subprocess
subprocess.Popen(' myargs', executable='mycmd.exe')
However, it does not work with "my path\\mycmd.exe"
subprocess.Popen(' myargs', executable='"my path\\mycmd.exe"') # error
Same as before, executable should be the first argument, so it's seldom used.
Try subprocess.Popen((full_path_to_mycmd, full_path_to_mycmd, arg1, arg2))
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
--
http://mail.python.org/mailman/listinfo/python-list