windows background process

Gabriel Genellina gagsl-py at
Sat Nov 25 03:11:07 CET 2006

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! -

More information about the Python-list mailing list