in reply to Perl Daemons and SIGHUP
I reproduced a simplified version of your problem using $SIG{HUP} and this fixed it.my $sigset = POSIX::SigSet->new(); my $action = POSIX::SigAction->new( \&sigHUP_handler, $sigset, &POSIX::SA_NODEFER ); POSIX::sigaction(&POSIX::SIGHUP, $action);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Daemons and SIGHUP
by explodec14 (Novice) on Feb 24, 2010 at 14:58 UTC | |
by cdarke (Prior) on Feb 24, 2010 at 17:24 UTC | |
by explodec14 (Novice) on Feb 27, 2010 at 18:42 UTC |