I had a similar question last week. One way to do it is to write code that reads the process list and looks for the program in question. If it's in the list, it's still running. There are examples of this in C in various places... I just don't have time to put it together (and in my case, I have the source to the program I'm waiting for, so I'll just have it create a special file when it completes... looking for that file will let me know when the program is done -- can you do this sort of thing with your problem?) Best regards, David --- David M. Dantowitz Dantowitz Consulting & Research, Inc. david@dantowitz.com http://www.dantowitz.com/ Using AIMS/EIMS for MacOS? Multimedia & Internet Consulting Check out DC&R Util 5 v2.0 Macromedia Director & Shockwave http://www.dantowitz.com/util5/ Apple Macintosh specialists ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch