@@ 6,8 6,8 @@ use App::Guestctl::Common;
sub transparent-run(*@run-args, :$cwd = $*CWD, :$proceed = False) is export {
my $proc = Proc::Async.new: |@run-args;
react {
+ # Supply is chunked, not line-based, so we can't just .say/.note each time.
whenever $proc.stdout { .print }
- # Supply is chunked, not line-based, so we can't just .note each time.
whenever $proc.stderr { $*ERR.print: $_ }
# Start the process, setting a working directory if specified. Await process and optionally replay exit code.
whenever $proc.start: :$cwd {