|
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.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
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