Lanching application
Roberto
rob02omni at vodafone.it
Tue Dec 23 11:30:55 EST 2003
Hi Bengt,
>
> >>> import os
> >>> def startit(path): os.system('start %s' %path)
> ...
well not really...
Notepad is natively a multi-session program i mean it can run any
number of itself cleanly.
What i'm trying to accomplish is to launch an application that is not
"multi-session". I know that this is possible (tricks in the
process/applications threads) but i dont know how :)
Any idea??
Thanks for reply!
Rob
bokr at oz.net (Bengt Richter) wrote in message news:<brv31d$qi8$0 at 216.39.172.122>...
> 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