in reply to Perl 6 Sending input to Proc::Async
I suspect you should be doing something like this:
Note: If you wish to await the Promise and discard its result, usingwill throw if the program exited with non-zero status, as the Proc returned as the result of the Promise throws when sunk and in this case it will get sunk outside the try.try await $p.start;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl 6 Sending input to Proc::Async
by ctilmes (Vicar) on Feb 01, 2017 at 12:14 UTC |