Skip to content

TProcess.Output

Stream connected to standard output of the process.

Declaration

Source position: processbody.inc line 209

public property Output: TInputPipeStream;

Description

Output is a stream which is connected to the process' standard output file handle. Anything written to standard output by the created process can be read from this stream.

The Output stream is only instantiated when the poUsePipes flag is used in Options.

The Output stream also contains any data written to standard diagnostic output (stderr) when the poStdErrToOutPut flag is used in Options.

Note that reading from the stream may cause the calling process to be suspended when the created process is not writing anything to standard output, or to cause errors when the process has terminated.

See also

Name Description
TProcess.InPut Stream connected to standard input of the process.
TProcess.StdErr Stream connected to standard diagnostic output of the process.
TProcess.Options Options to be used when starting the process.
TProcessOption Options to be used when a process is started.