TClrProcessStartInfo.RedirectStandardOutput Property

Gets or sets a value that indicates whether the textual output of an application is written to the StandardOutput stream.

Namespace: CNClrLib.Component.Process
published
 property RedirectStandardOutput: Boolean read GetRedirectStandardOutput write SetRedirectStandardOutput default False;

Property Value

Type: Boolean

true if output should be written to StandardOutput; otherwise, false. The default is false.

When a Process writes text to its standard stream, that text is typically displayed on the console. By setting RedirectStandardOutput to true to redirect the StandardOutput stream, you can manipulate or suppress the output of a process. For example, you can filter the text, format it differently, or write the output to both the console and a designated log file.