in reply to Re^3: system call returns incorrect in windows (use antRun)
in thread system call returns incorrect in windows

I didn't get the same results. I'm running Windows 8 with 64bit Perl. What are you using?

C:\Users\Lotus1>perl -v This is perl 5, version 22, subversion 1 (v5.22.1) built for MSWin32-x +64-multi-thread [...] C:\Users\Lotus1>perl -e" print system 'test1.bat' " C:\Users\Lotus1>exit 1 256 C:\Users\Lotus1>perl -e" print system 'test1b.bat' " C:\Users\Lotus1>exit /b 1 256

Replies are listed 'Best First'.
Re^5: system call returns incorrect in windows (use antRun)
by Anonymous Monk on Apr 08, 2018 at 05:28 UTC
    strawberry-perl-5.20.3.3-32bit and older on older windows