|
CommandCustomProcessStartInfo Property
|
Customizable Command.ProcessStartInfo to set prior to Creating or Executing the CommandProcess.
The original Process.StartInfo defaults are used when Command.CustomProcessStartInfo is null.
Command.CustomProcessStartInfo is null to be consistent with earlier implementations.
Example to create a Command.CustomProcessStartInfo with Gemstone default StartInfo but without creating a Window:
GSF.Core.Console.Command.CustomProcessStartInfo = new()
{
UseShellExecute = false,
RedirectStandardError = true,
RedirectStandardOutput = true,
CreateNoWindow = true
};
Namespace: GSF.ConsoleAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.266-beta+c6b78f50c57a6e00a35ffa6b1d344e516617d5cd
Syntaxpublic static ProcessStartInfo CustomProcessStartInfo { get; set; }Public Shared Property CustomProcessStartInfo As ProcessStartInfo
Get
Set
public:
static property ProcessStartInfo^ CustomProcessStartInfo {
ProcessStartInfo^ get ();
void set (ProcessStartInfo^ value);
}static member CustomProcessStartInfo : ProcessStartInfo with get, set
GSF.Console.Command.get_CustomProcessStartInfo = function();
GSF.Console.Command.set_CustomProcessStartInfo = function(value);
View SourceProperty Value
ProcessStartInfo
See Also