Exit codes

Top  Previous  Next

The encoder and command line tools may return the following exit codes. You may see the same codes displayed in brackets in the encoding log. When encoding a single file, the exit code may be used for checking if encoding was successful. When encoding multiple files and there are no issues with using the command line options, the encoder returns 0 (no error) and you need to check the encoding log to know further details.

 

Exit code

Reason

0

no error

1

file not found

2

ruby syntax or other compiler error

3

could not backup a file when backup is on

4

could not write output file

5

file is already encoded

6

license error

7

license error

8

usage error, check command line options

9

cancelled, no error but files were not encoded, e.g. help screen shown or license information

10

license expired (for trial version)

11

empty file, skipped

12

not a regular file, skipped

13

file copied without encoding

14

encoded in template mode

15

file skipped

18

multiple files are being encoded and an error happens during encoding (see encoding log for details)

255

other, internal or unexpected errors