Created
March 23, 2019 18:49
-
-
Save samcv/fce3ecdb5e8927d6a13092ed7b33f255 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env perl6 | |
use nqp; | |
sub MAIN | |
{ | |
say "Started as $*PID"; | |
for ^5 -> $run { | |
say "Start run $run"; | |
my $cmd = run « cat /home/samantha/Downloads/kubuntu-18.10-desktop-amd64.iso », :out; | |
$cmd.out.close; | |
say "End run $run"; | |
nqp::force_gc(); | |
sleep 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment