2016-05-17から1日間の記事一覧

Execute an external program with timeout in Perl6

Proc::Async allows us to execute an external program asynchronously. my $proc = Proc::Async.new("curl", "-s", "-o", "index.html", "http://www.cpan.org"); my $res = await $proc.start; Can we use Proc::Async with a timeout? Proc::Async does …