monitor the start and end of applications

Discussion in 'Python' started by awalter1, Jan 19, 2007.

  1. awalter1

    awalter1 Guest

    Hello,
    My purpose is to supervise (from a python program) the launch of some
    other programs (python or non python programs) as : "I click on the
    button X and the pg X is launched ..."
    I want also that my supervision be "wake up" when a pg has exited to
    check its status or something like that.
    I suppose I need to use thread and I did, I'm trying several solutions
    (popen, os.system, commands.getstatusoutput, certainly not correctly) :
    generally I am able to launch a pg but when it is ended, the thread
    "caller" is still waiting.

    Is somebody has encountered similar requirements ?
    Thanks a lot for your help
     
    awalter1, Jan 19, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Noam Raphael
    Replies:
    17
    Views:
    545
    Noam Raphael
    May 26, 2004
  2. Replies:
    2
    Views:
    368
  3. praba kar
    Replies:
    2
    Views:
    913
    Paul Rubin
    May 4, 2005
  4. ScottZ
    Replies:
    2
    Views:
    412
    Jorgen Grahn
    Nov 2, 2008
  5. Kyung won Cheon
    Replies:
    1
    Views:
    116
    Pit Capitain
    Aug 18, 2008
Loading...

Share This Page