Next System Programming in Perl 28

Signal Handling

        #!/bin/perl
        @ARGV or die "Usage: nohup command [args...]\n";
        $SIG{HUP} = 'IGNORE';
        exec @ARGV or die "Couldn't exec $ARGV[0]: $!\n";


Next Copyright © 2003 M. J. Dominus