in reply to system call returns incorrect in windows
That should work on Windows.
>perl -E"say system('perl -e exit($ARGV[0]) 0'); say $?; say ${^CHILD_ +ERROR_NATIVE}" 0 0 0 >perl -E"say system('perl -e exit($ARGV[0]) 1'); say $?; say ${^CHILD_ +ERROR_NATIVE}" 256 256 256
Please provide more info (e.g. perl -V).
What's ant's file extension (e.g. .exe)? (Not sure if that matters.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: system call returns incorrect in windows
by ericaQA (Novice) on Apr 06, 2018 at 18:59 UTC |