Created
April 29, 2015 02:47
-
-
Save tony-o/adeb3a9d3288f894e118 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
tonyo@imac ~/projects/perl6-template-protone$ cat sh.sh; perl6 -e 'my Proc::Async $a .=new("/bin/bash", "sh.sh"); my $p = $a.start; await $p; $p.result.exitcode.say;' | |
exit 1 | |
256 | |
tonyo@imac ~/projects/perl6-template-protone$ cat sh.sh; perl6 -e 'my Proc::Async $a .=new("/bin/bash", "sh.sh"); my $p = $a.start; await $p; $p.result.exitcode.say;' | |
exit 2 | |
512 | |
tonyo@imac ~/projects/perl6-template-protone$ cat sh.sh; perl6 -e 'my Proc::Async $a .=new("/bin/bash", "sh.sh"); my $p = $a.start; await $p; $p.result.exitcode.say;' | |
exit 3 | |
768 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment