Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Use of Nil in numeric context" warning seen with Proc::Async exitcode on [OSX] only #4366

Open
p6rt opened this issue Jun 30, 2015 · 1 comment
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 30, 2015

Migrated from rt.perl.org#125516 (status was 'new')

Searchable as RT125516$

@p6rt
Copy link
Author

p6rt commented Jun 30, 2015

From @stmuk

% 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.

@p6rt p6rt added the conc label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant