Sign in Join
FPDoc Onlineexperiment

TProcess.Output property

Member of TProcesspublicIn unit Process

Stream connected to standard output of the process.

Declaration

pascal
property Output: TInputPipeStream read GetOutputStream;

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

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