monitor the start and end of applications

A

awalter1

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top