Documentation for method
stderr assembled from the following types:
method stderr(Proc::Async: : --> Supply)
Returns the Supply for the external program's standard error stream. If
:bin is passed, the standard error is passed along in binary as Blob, otherwise it is interpreted as UTF-8, decoded, and passed along as Str.
my = Proc::Async.new(:r, 'echo', 'Perl 6');.stderr.tap( ->);my = .start;await ;
stderr is not called, the external program's standard error stream is not captured at all.
Note that you cannot call
stderr both with and without
:bin on the same object; it will throw an exception of type X::Proc::Async::CharsOrBytes if you try.
.Supply for merged STDOUT and STDERR.