# New Ticket Created by  Rob Hoelz 
# Please include the string:  [perl #125651]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125651 >


See the attached script.

If you create a Proc::Async to execute an unknown command and try to write data 
for the child process' standard input, Rakudo will exit via a SIGPIPE signal.  
If you remove the $proc.write from the attached script, you get an LTA error 
message:

===SORRY!===
no such file or directory
use v6;

my $proc = Proc::Async.new('cat-foo', :w);
my $p = $proc.start;
$proc.write: 'hello'.encode;
$proc.close-stdin;
await $p;
say 'done';

Reply via email to