AnyEvent-Run

 view release on metacpan or  search on metacpan

t/05run.t  view on Meta::CPAN

use strict;

use Test::More tests => 7;

use AnyEvent;
use AnyEvent::Run;
use File::Spec::Functions;
use FindBin qw($Bin);

use lib catfile($Bin, 'lib');

run( 
    name => 'string cmd',
    cmd  => 'echo test',
);

run(
    name     => 'arrayref cmd',
    cmd      => [ 'echo', 'test' ],
    priority => 19,



( run in 0.314 second using v1.01-cache-2.11-cpan-87723dcf8b7 )