TClrProcessStartInfo.RedirectStandardInput Property

Gets or sets a value indicating whether the input for an application is read from the StandardInput stream.

Namespace: CNClrLib.Component.Process
 property RedirectStandardInput: Boolean read GetRedirectStandardInput write SetRedirectStandardInput default False;

Property Value

Type: Boolean

true if input should be read from StandardInput; otherwise, false. The default is false.

A TCnProcess can read input text from its standard input stream, typically the keyboard. By redirecting the StandardInput stream, you can programmatically specify the input of a process. For example, instead of using keyboard input, you can provide text from the contents of a designated file or output from another application.