Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Daemon module stop working 5.8.?

by sth (Priest)
on Apr 29, 2004 at 21:07 UTC ( #349273=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # signal handler for child die events
    $SIG{TERM} = $SIG{INT} = \&do_term;
    ...
        }
    
    } continue { $connection->close; }
    
  2. or download this
    sub become_daemon {
      croak "Can't fork" unless defined (my $child = fork);
    ...
      delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
      $SIG{CHLD} = \&reap_child;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://349273]
Approved by kvale
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2017-08-22 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (340 votes). Check out past polls.

    Notices?