> 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.
> 
> Does anyone know where this command is located, or an alternative way of 
> doing what I want?
> 
> regards tores

os.startfile is async.  You could also use win32api.ShellExecute
directly (os.startfile call this function under the covers)  or
win32process.CreateProcess if you need more flexibility.

        Roger

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to