Skip to content

Commit

Permalink
doc Proc::Async::bind-(stdin|stdout|stderr)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfldex committed Feb 3, 2018
1 parent bba24ab commit 244e371
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions doc/Type/Proc/Async.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,31 @@ you try.
Use L«C<.Supply>|/type/Proc::Async#method_Supply» for merged STDOUT and STDERR.
=head2 method bind-stdin
multi method bind-stdin(IO::Handle:D $handle)
multi method bind-stdin(Proc::Async::Pipe:D $pipe)
Sets a handle or a L<Pipe|/type/proc/async/Pipe> as a source of STDIN. STDIN of
the target process must be writeable or
L<X::Proc::Async::BindOrUse|/type/x/proc/async/BindOrUse> will be thrown.
=head2 method bind-stdout
method bind-stdout(IO::Handle:D $handle)
Redirects STDOUT of the target process to a handle. If STDOUT is closed
L<X::Proc::Async::BindOrUse|/type/x/proc/async/BindOrUse> will be thrown.
Sets a w
=head2 method bind-stderr
method bind-stderr(IO::Handle:D $handle)
Redirects STDERR of the target process to a handle. If STDERR is closed
L<X::Proc::Async::BindOrUse|/type/x/proc/async/BindOrUse> will be thrown.
=head2 method w
method w(Proc::Async:D:)
Expand Down

0 comments on commit 244e371

Please sign in to comment.