We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 395898a commit 4971fb5Copy full SHA for 4971fb5
t/nqp/114-pod-panic.t
@@ -14,7 +14,8 @@ $fh.print($pod);
14
close($fh);
15
16
# ensure we use the correct executable
17
-my $cmd := nqp::getcomp('nqp').backend.name eq 'jvm' ?? './nqp-j' !! './nqp-m';
+my $cmd := (nqp::stat('./nqp', nqp::const::STAT_EXISTS) == 1) ?? './nqp'
18
+ !! nqp::getcomp('nqp').backend.name eq 'jvm' ?? './nqp-j' !! './nqp-m';
19
my $cmdargs := $fname;
20
my $args := nqp::list($cmd, $cmdargs);
21
0 commit comments