Re: [MSWin32] t/op/spawnw.t

2005-04-02 Thread Ron Blaschke
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

Re: [MSWin32] t/op/spawnw.t

2005-04-02 Thread Leopold Toetsch
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

[MSWin32] t/op/spawnw.t

2005-03-30 Thread Ron Blaschke
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