in reply to Problem with using $SIG{__DIE__} to restart program
There are various ways of doing this on Unix, but I'm not familiar with Windows. If you have a reliable fork(), one way is to just fork your program during startup and have the parent wait() or waitpid() for the child to die and respawn as need.
bluto
|
|---|