Re: running windows 'start' cmd using spawnl

2006-08-23 Thread Michel Claveau
Hi! You can use (exemple) : "cmd /cSTART notepad" -- @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: running windows 'start' cmd using spawnl

2006-08-23 Thread Fredrik Lundh
Tor Erik wrote: > I need to start a program in a new cmd-window. To do this I need to > execute: start [command] > With os.system this is straight-forward. > But I need to do it with spawnl and P_NOWAIT. I.e, asynchronously. > The problem is that I need to know the path where start resides, > whi

Re: running windows 'start' cmd using spawnl

2006-08-23 Thread Gabriel Genellina
At Wednesday 23/8/2006 14:22, Tor Erik wrote: I need to start a program in a new cmd-window. To do this I need to execute: start [command] With os.system this is straight-forward. But I need to do it with spawnl and P_NOWAIT. I.e, asynchronously. The problem is that I need to know the path where

running windows 'start' cmd using spawnl

2006-08-23 Thread Tor Erik
Hi, I need to start a program in a new cmd-window. To do this I need to execute: start [command] With os.system this is straight-forward. But I need to do it with spawnl and P_NOWAIT. I.e, asynchronously. The problem is that I need to know the path where start resides, which I'm unable to find.