Guest User

Untitled

a guest
Aug 6th, 2017
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. my $proc = run '/bin/ls', '-l', '/tmp', :out;
  2. say "/bin/ls -l /tmp";
  3. with $proc.out {
  4. no strict;
  5. repeat {
  6. $return = .get;
  7. say $return
  8. }
  9. while $return.Bool;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment