Project: Console Application Runner Classes
Unit: PJConsoleApp
Classes: TPJCustomConsoleApp, TPJConsoleApp
Applies to: ~>3.0
property ExitCode: LongWord;
ExitCode is a read only property that stores the exit code returned by the console application on completion. The value of the property is application dependent.
The value of ExitCode is meaningless if the ErrorCode property is non-zero.
Do not confuse ExitCode with ErrorCode which provides information about any problems encountered in actually running the application.
The property is public in TPJConsoleApp and protected in TPJCustomConsoleApp.