Hi all,

I just need to find out when a process would terminate before I continue with my program.

Here's the situation.   When I start my program, it looks to see if a certain process is running.  If it is, then I would like my program to wait till that process is terminated before continuing.  Had anyone of you done this before?

 I'm thinking of getting the process id then monitor if the process id no longer exists by polling the process list again and again.  But I'm thinking that this may not be the proper way of doing it.  Is there a way to monitor if a process is terminating based on just he process id?

Sam  
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to