|
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.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
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