Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #by Zaxo of perlmonks
    ...
    #If the apps don't run as daemons, you may need to have 
    #them ignore SIGHUP or else call &POSIX::setsid so that 
    #the parent's exit doesn't trigger an early demise of the kids.
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    # Evaluating $! will give you the reason you couldn't 
    # spawn the exec'ed process.