Leopold Toetsch wrote:
> Ron Blaschke <[EMAIL PROTECTED]> wrote:
>> The documentation for spawnw (F) says:
>> Spawn a subprocess and wait for it to finish. The return status,
>> which is very system-dependent, goes in $1.
> Yeah. What does Perl5?
$?
"This is just the 16-bit status word returne
Ron Blaschke <[EMAIL PROTECTED]> wrote:
> F currently fails on Windows. The reason is that the
> test expects the exit code in the higher byte of the termination
> status.
[ code snippet ]
> The documentation for spawnw (F) says:
> Spawn a subprocess and wait for it to finish. The return statu
F currently fails on Windows. The reason is that the
test expects the exit code in the higher byte of the termination
status. In other words:
set S1, 'perl -e "exit(123)"'
set I1, 99
spawnw I1, S1
shr I2, I1, 8
print "return code: "
p