|
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.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
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