waitpid and waitall are two simple utilities for waiting processes by pid or name. waitpid 42; print "Process id 42 just finished" or waitall wget; ppp-off; echo "All wget processes done, ppp is now off" I'd appreciate any feedback or notes! Thanx! :) -- Vladi Belperchinov-Shabanski http://www.biscom.net/~cade Now, sure as the sun will cross the sky, This lie is over Lost, like the tears that used to tide me over...