Lanching application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roberto

    Lanching application

    Hi there,
    Hi want to start multiple sessions of an application that is not multi-tread
    (in windows) any idea about this.

    I think that it can be started as a subprocess of a (python) session??

    Thanks !
    Rob


  • Matt Gerrans

    #2
    Re: Lanching application

    Since you mentioned Windows specifically, you can use win32api.WinExe c().


    Comment

    • Roberto

      #3
      Re: Lanching application

      Thanks for the reply i will try to see if i can start multiple session with
      win32api.WinExe c().

      Bye,
      Rob


      Comment

      • Roberto

        #4
        Re: Lanching application

        I've tried win32api.WinExe c 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?

        Thanks,
        Rob


        Comment

        • Bengt Richter

          #5
          Re: Lanching application

          On Fri, 19 Dec 2003 12:05:31 +0100, "Roberto" <rob02omni@voda fone.it> wrote:
          [color=blue]
          >I've tried win32api.WinExe c 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?
          >[/color]
          You mean like this?
          [color=blue][color=green][color=darkred]
          >>> import os
          >>> def startit(path): os.system('star t %s' %path)[/color][/color][/color]
          ...[color=blue][color=green][color=darkred]
          >>> startit('notepa d')
          >>> startit('notepa d')[/color][/color][/color]

          (Two instances of notepad running at this point)

          Regards,
          Bengt Richter

          Comment

          Working...