What Is Exit Code 255 Unix?
Contents

Exit Status Out of Range: 255. Depending on our shell, exit code 255 might mean that the returned exit code is outside of the 0-255 range.

What does exit code 255 mean?

Jobs fail on Windows executions hosts with ” exit code 255 ” when the submission users do not have read and execute permission to the command processor ( cmd.exe ). Grant submission users read and execute permission on cmd.exe to allow job execution without failure.

How do you exit a UNIX code?

To set an exit code in a script use exit 0 where 0 is the number you want to return. In the following example a shell script exits with a 1 . This file is saved as exit.sh . Executing this script shows that the exit code is correctly set.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest