We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The docs on Proc have a nice example:
my $p1 = run 'echo', 'Hello, world', :out; my $p2 = run 'cat', '-n', :in($p1.out), :out; say $p2.out.get;
We should provide the same thing for Proc::Async.
See also: https://irclog.perlgeek.de/perl6/2017-09-25#i_15213849
The text was updated successfully, but these errors were encountered:
This seems to work:
my $proc1 = Proc::Async.new: "cal"; my $proc2 = Proc::Async.new: «perl6 -e "slurp.uc.put"»; $proc2.bind-stdin: $proc1.stdout: :bin; await $proc1.start, $proc2.start
The .bind-stdin, .bind-stdout (and .bind-stderr) methods don't appear to be documented, but are featured in master roast.
.bind-stdin
.bind-stdout
.bind-stderr
Sorry, something went wrong.
Added example on piping with Proc::Async (refs #1580)
db2e07b
Note that methods .bind-stdin, .bind-stdout and .bind-stderr still needs documentation.
I think this was resolved in db2e07b.
There's a separate issue for undecumented .bind-* methods: #1470
.bind-*
No branches or pull requests
The docs on Proc have a nice example:
We should provide the same thing for Proc::Async.
See also: https://irclog.perlgeek.de/perl6/2017-09-25#i_15213849
The text was updated successfully, but these errors were encountered: