Results 1 to 3 of 3

Thread: Start process/program and check if it's still alive?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2001
    Location
    Linkoping, Sweden
    Posts
    50

    Start process/program and check if it's still alive?

    How do I check if my started process still is alive?

    /Anders

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    You could use the WaitForExit method with a short timeout value.

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2001
    Location
    Linkoping, Sweden
    Posts
    50

    Thumbs up YES!

    It works!

    Thank you.....

    The program reads an .ini-file to get the application to start and keep alive. If the application dies for som reason, my program restarts it within seconds specified in the .ini-file.

    /Anders

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width