- or download this
C:\>perl -e "exit 0" && echo "ok"
"ok"
...
C:\>perl -e "exit -1" && echo "ok"
C:\>
- or download this
C:\> perl -e "while (1) { sleep 1; }"
(now I pressed ^C)
...
C:\> echo %ERRORLEVEL%
2
- or download this
C:\>perl pjf-win32.pl
Successful command returning 1
...
Nonexistent via cmd because 'shell chars'; sending stderr >null
![] ?[256 : 1] E[]