Lanching application

Bengt Richter bokr at oz.net
Fri Dec 19 15:47:09 CET 2003


On Fri, 19 Dec 2003 12:05:31 +0100, "Roberto" <rob02omni at vodafone.it> wrote:

>I've tried win32api.WinExec but it seems to lanch application as single
>session.
>
>What i'm trying to do is lanch multiple session of a program that natively
>runs only in single session (i know that is possible).
>
>Any idea about this?
>
You mean like this?

 >>> import os
 >>> def startit(path): os.system('start %s' %path)
 ...
 >>> startit('notepad')
 >>> startit('notepad')

(Two instances of notepad running at this point) 

Regards,
Bengt Richter




More information about the Python-list mailing list