Dominik Schulz > Sys-ForkQueue-0.14 > Sys::ForkAsync

Download:
Sys-ForkQueue-0.14.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.14   Source  

NAME ^

Sys::ForkAsync - Simple async one-time job

SYNOPSIS ^

    use Sys::ForkAsync;
    my $Mod = Sys::ForkAsync::->new();

DESCRIPTION ^

Run a system command asynchronous.

ATTRIBUTES ^

chdir

Change to this directory after the fork.

redirect_output

If set to true the output of the child will be redirected to /dev/null.

close_fhs

Close all open filehandles after the fork to prevent unsynchronized file I/O

setsid

Create its own process group.

name

Set the process name to this string, if set.

METHODS ^

dispatch

Run the command in its own fork.

EAGAIN

Imported from Errno.

1; # End of Linux::ForkAsync

NAME ^

Sys::ForkAsync - Run async commands

AUTHOR ^

Dominik Schulz <tex@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Dominik Schulz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: