help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Types][Classes] Reference for unit 'process' (#fcl)

TProcess.Suspend

Suspend a running process

Declaration

Source position: process.pp line 102

public function TProcess.Suspend: Integer; virtual;

Function result

0 on success, nonzero otherwise.

Description

Suspend suspends a running process. If the call is successful, the process is suspended: it stops running, but can be made to execute again using the Resume call.

Suspend is fundamentally different from TProcess.Terminate which actually stops the process.

Errors

On error, a nonzero result is returned.

See also

TProcess.Options

  

Options to be used when starting the process.

TProcess.Resume

  

Resume execution of a suspended process

TProcess.Terminate

  

Terminate a running process

TProcess.Execute

  

Execute the program with the given options

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505