Skip to content

Instantly share code, notes, and snippets.

@ab5tract
Last active Aug 16, 2017
Embed
What would you like to do?
my $proc = Proc::Async.new(:r, 'echo',
'Man is amazing, but he is not a masterpiece');
react {
whenever $proc.stdout { say "OUT: $_" }
whenever $proc.start { done }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment