Re: [perl #126037] Redirecting standard streams in Proc causes wrong exit code
Thing is that you do not redirect, you capture the streams. So if you capture out, you need to read the output and close it. The return value of close will then tell you the right exit code.
[perl #126037] Redirecting standard streams in Proc causes wrong exit code
# New Ticket Created by Faye # Please include the string: [perl #126037] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126037 > $ perl6 -e 'say ?run("false")' False $ perl6 -e 'say ?run("false", :out)' True $ perl6 -e 'say