Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my $proc = run '/bin/ls', '-l', '/tmp', :out;
- say "/bin/ls -l /tmp";
- with $proc.out {
- no strict;
- repeat {
- $return = .get;
- say $return
- }
- while $return.Bool;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement