Arch
view release on metacpan or search on metacpan
perllib/Arch/Run.pm view on Meta::CPAN
mode => LINES,
datacb => sub { chomp(my $str = $_[0]); set_str($str); },
exitcb => sub { $go = 0; set_str("exit code: $_[0]"); },
);
Gtk2->main;
=head1 DESCRIPTION
Arch::Run allows the user to run run subprocesses and capture their
output in a single threaded environment without blocking the whole
application.
You can use either B<poll> to wait for and handle process output, or
use B<handle_output> and B<handle_exits> to integrate
B<Arch::Run> with your applications main loop.
=head1 METHODS
The following functions are available:
( run in 0.555 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )