kill 0, will tell you if a process is still alive.
ikegami
In reply to Re: background system() and stillalive() sub by Anonymous Monk in thread background system() and stillalive() sub by iaw4