TClrProcessStartInfo.UseShellExecute Property

Gets or sets a value indicating whether to use the operating system shell to start the process.

Namespace: CNClrLib.Component.Process
published
 property UseShellExecute: Boolean read GetUseShellExecute write SetUseShellExecute default True;

Property Value

Type: Boolean

true if the shell should be used when starting the process; false if the process should be created directly from the executable file.

Setting this property to false enables you to redirect input, output, and error streams.