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

TProcess.Stderr

Stream connected to standard diagnostic output of the process.

Declaration

Source position: process.pp line 113

public property TProcess.Stderr: TInputPipeStream
  read FStderrStream;

Description

StdErris a stream which is connected to the process' standard diagnostic output file handle (StdErr). Anything written to standard diagnostic output by the created process can be read from this stream.

The StdErrstream is only instantiated when the poUsePipesflag is used in Options.

The Outputstream equals the Outputwhen the poStdErrToOutPutflag 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

TProcess.InPut

  

Stream connected to standard input of the process.

TProcess.Output

  

Stream connected to standard output of the process.

TProcess.Options

  

Options to be used when starting the process.

TProcessOption

  

Options to be used when a process is started.