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;
In reply to Re: Perl 6 Sending input to Proc::Async
by BrowserUk
in thread Perl 6 Sending input to Proc::Async
by ctilmes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |