Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created June 28, 2016 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/01c52010794334a3eaa0b584524ddd3c to your computer and use it in GitHub Desktop.
Save zoffixznet/01c52010794334a3eaa0b584524ddd3c to your computer and use it in GitHub Desktop.
loop {
my $p = Proc::Async.new: "perl6", "bin/huggable.p6";
$p.stdout.tap: -> $v { $*OUT.print: $v }
$p.stderr.tap: -> $v { $*ERR.print: $v }
$p.start;
sleep 4*60*60;
$p.kill;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment