Project: Console Application Runner Classes
Unit: PJConsoleApp
Classes: TPJCustomConsoleApp, TPJConsoleApp
Applies to: ~>3.0
property KillTimedOutProcess: Boolean;
This property determines what happens when a console application times out or is terminated via a call to the Terminate method.
When KillTimedOutProcess is True the console application is forcibly killed.
When the property is False the application is left running but the Execute method returns and the link with the application is severed.
The default property value is True.
The Windows API TerminateProcess function is used to forcibly kill child processes. This function does not perform a clean shut-down of the application. See Windows API documentation for details.
The property is public in TPJConsoleApp and protected in TPJCustomConsoleApp.