|
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.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
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