C:\>perl -e "exit 0" && echo "ok"
"ok"
C:\>perl -e "exit 1" && echo "ok"
C:\>perl -e "exit -1" && echo "ok"
C:\>
####
C:\> perl -e "while (1) { sleep 1; }"
(now I pressed ^C)
Terminating on signal SIGINT(2)
C:\> echo %ERRORLEVEL%
2
####
C:\>perl pjf-win32.pl
Successful command returning 1
![] ?[256 : 1] E[]
Nonexistent command, attempted direct but fallback to via cmd
'c:/doesNotExists.exe' is not recognized as an internal or external command, operable program or batch file.
![No such file or directory] ?[256 : 1] E[]
Nonexistent via cmd because 'shell chars'; sending stderr >null
![] ?[256 : 1] E[]