Sign in Join
FPDoc Onlineexperiment

TProcessOption enumeration

In unit Process

Options to be used when a process is started.

Declaration

pascal
TProcessOption = (poRunSuspended,poWaitOnExit,poUsePipes,
 poStderrToOutPut,poNoConsole,poNewConsole,
 poDefaultErrorMode,poNewProcessGroup,poDebugProcess,
 poDebugOnlyThisProcess,poDetached,poPassInput,
 poRunIdle)

Description

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

See also

Values

poRunSuspendedStart the process in suspended state.
poWaitOnExitWait for the process to terminate before returning.
poUsePipesUse pipes to redirect standard input and output.
poStderrToOutPutRedirect standard error to the standard output stream.
poNoConsoleDo not allow access to the console window for the process (Win32 only).
poNewConsoleStart a new console window for the process (Win32 only).
poDefaultErrorModeUse default error handling.
poNewProcessGroupStart the process in a new process group (Win32 only).
poDebugProcessAllow debugging of the process (Win32 only).
poDebugOnlyThisProcessDo not follow processes started by this process (Win32 only).
poDetachedRuns a process using the DETACHED_PROCESS creation flag on Windows.
poPassInputPass standard input handle on to new process.
poRunIdleSignals an event handler to wait for output in the run loop for a process.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.