in reply to Re^6: Perl Daemons and SIGHUP
in thread Perl Daemons and SIGHUP

You don't know your process has "vanished" since you have not ascertained it even started. Check your exec call as per the examples in perldoc -f exec. Put some code after the exec which should not be reached if the exec works. If this does not help you trace it with something like strace.

Replies are listed 'Best First'.
Re^8: Perl Daemons and SIGHUP
by ikegami (Patriarch) on Feb 24, 2010 at 17:31 UTC

    You don't know your process has "vanished" since you have not ascertained it even started.

    You seem to think exec creates a new process when it doesn't. It replaces the program being executed by the current process.

      You are correct of course and I am aware of that. What I meant to emphasize is that the OP has not checked the exec worked.

Re^8: Perl Daemons and SIGHUP
by ikegami (Patriarch) on Feb 24, 2010 at 17:32 UTC

    You don't know your process has "vanished" since you have not ascertained it even started.

    You seem to think exec creates a new process when it doesn't. It replaces the program being executed by the current process.