[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Terminate a running process
Source position: processbody.inc line 119
public function TPROCESS.Terminate( |
AExitCode: Integer |
):Boolean; virtual; |
AExitCode |
|
Exit status to report (Windows only) |
0 on success, nonzero for failure.
Terminate stops the execution of the running program. It effectively stops the program.
On Windows, the program will report an exit code of AExitCode, on other systems, this value is ignored.
On error, a nonzero value is returned.
|
Exit status of the process. |
|
|
Suspend a running process |
|
|
Execute the program with the given options |
|
|
Wait for the program to stop executing. |
|
|
Exit code of the process |