[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'process' (#fcl)

TProcessOption

Options to be used when a process is started.

Declaration

Source position: process.pp line 25

type TProcessOption = (

  poRunSuspended,

  

Start the process in suspended state.

  poWaitOnExit,

  

Wait for the process to terminate before returning.

  poUsePipes,

  

Use pipes to redirect standard input and output.

  poStderrToOutPut,

  

Redirect standard error to the standard output stream.

  poNoConsole,

  

Do not allow access to the console window for the process (Win32 only)

  poNewConsole,

  

Start a new console window for the process (Win32 only)

  poDefaultErrorMode,

  

Use default error handling.

  poNewProcessGroup,

  

Start the process in a new process group (Win32 only)

  poDebugProcess,

  

Allow debugging of the process (Win32 only)

  poDebugOnlyThisProcess,

  

Do not follow processes started by this process (Win32 only)

  poDetached,

  

Runs a process using the DETACHED_PROCESS creation flag on Windows

  poPassInput,

  

Pass standard input handle on to new process

  poRunIdle

  

Signals an event handler to wait for output in the run loop for a process.

);

Description

When a new process is started using TProcess.Execute, these options control the way the process is started. Note that not all options are supported on all platforms.

See also

TProcessOptions

  

Set of TProcessOption.

TShowWindowOptions

  

Description of the main window of the new process.


Documentation generated on: Jun 23 2021