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


% more async2.p6 
#!/usr/bin/env perl6

use v6;
 
my $proc = Proc::Async.new( | < ps > );
my $p = $proc.start;
my $passed = $p.result.exitcode == 0;

On OX 10.10 (and warning absent on Debian stable) as shown by panda

% perl6 async2.p6
  PID TTY           TIME CMD
 1730 ttys000    0:00.25 ssh -A 6502.shellcode.eu
65144 ttys000    0:00.20 -zsh
65149 ttys001    0:00.89 -zsh
71440 ttys002    0:00.23 -zsh
71625 ttys002    0:00.12 screen -e^jj
71628 ttys003    0:00.88 zsh
 7528 ttys004    0:00.99 zsh
 2542 ttys005    0:00.44 vi +125 ./lib/Panda/Builder.pm
74728 ttys005    0:00.17 zsh
76714 ttys006    0:00.74 zsh
82701 ttys006    0:00.44 vi .
 2882 ttys007    0:00.45 zsh
 3920 ttys007    0:00.00 rlwrap perl6 async2.p6
 3921 ttys008    0:00.00 /bin/sh /Users/steve/.rakudobrew/bin/perl6 async2.p6
 3922 ttys008    0:00.20 /Users/steve/.rakudobrew/moar-nom/install/bin/moar 
--execname=/Users/steve/.rakudobrew/b
Use of Nil in numeric context  in block <unit> at async2.p6:7

May resemble or be related to 

#125515: [BUG] Proc::Async stdout does not tap output in its entirety.

Reply via email to