[Overview][Types][Classes] | Reference for unit 'process' (#fcl) |
Terminate a running process
Source position: process.pp line 103
public function TProcess.Terminate( |
AExitCode: Integer |
):Boolean; virtual; |
AExitCode |
|
Exit status to report (Windows only) |
0 on succes, 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. |
No notes exist for this page yet.