Codes Windows - Exit

He hit . The console blurred with white text on a black background.

Exit codes can be used in various ways:

Use $LASTEXITCODE for external apps, or $? for boolean success/failure. System Error Codes (0-499) (WinError.h) - Win32 apps exit codes windows

This overlap is a trap: an exit code of 2 could mean "invalid parameter" (application-defined), or it could mean ERROR_FILE_NOT_FOUND from a failed CreateFile . Without the program's documentation, you cannot disambiguate. He hit

An exit code of is the universal sign of peace. It means, "I finished my task. Everything is awesome. Carry on." exit codes windows