App-Framework
view release on metacpan or search on metacpan
lib/App/Framework.pm view on Meta::CPAN
Example extensions (may not be installed on your system):
=over 4
=item Daemon
Selecting this extension converts the command line script into a daemon (see L<App::Framework::Extension::Daemon>)
=item Filter
Sets up the application for file filtering, the framework doing most of the work in the background (see L<App::Framework::Extension::Filter>).
=item Find
Sets up the application for file finding, the framework doing most of the work in the background
=back
=item Features
Single line selection of one or more application feature plugins which provide application targetted functionality (for example Sql support,
mail handling etc).
Modular application framework allows for separate installation of new features in the installed Perl library space, or locally under
an application-specific directory.
lib/App/Framework/Feature/Run.pm view on Meta::CPAN
}
# if it's defined, call the results checker for each line
$rc ||= $this->_check_results(\@results, $check_results) ;
return ($rc, @results) ;
}
#----------------------------------------------------------------------
#Execute a command in the background, gather output, return status.
#If timeout is specified (in seconds), process is killed after the timeout period.
#
sub _run_timeout
{
my $this = shift ;
my ($cmd, $args, $timeout, $progress, $check_results) = @_ ;
$this->_dbg_prt(["_run_timeout($cmd) timeout=$timeout args=$args\n"]) ;
## Timesout must be set
( run in 1.688 second using v1.01-cache-2.11-cpan-f56aa216473 )