method bind-stderr
1 | class Proc::Async |
1.1 | (Proc::Async) method bind-stderr |
Documentation for method bind-stderr
assembled from the following types:
class Proc::Async
From Proc::Async
(Proc::Async) method bind-stderr
method bind-stderr(IO::Handle )
Redirects STDERR
of the target process to a handle (which must be opened). If STDERR
is closed X::Proc::Async::BindOrUse will be thrown.
my = Proc::Async.new("ls", "--foo", :err);my = "ls.err".IO.open(:w);.bind-stderr();.start;