NuGet.AdvancedPackagingTool.Core.BackgroundProcess.CreateProcessStartInfo C# (CSharp) Method

CreateProcessStartInfo() private static method

private static CreateProcessStartInfo ( string command, string arguments ) : ProcessStartInfo
command string
arguments string
return System.Diagnostics.ProcessStartInfo
        private static ProcessStartInfo CreateProcessStartInfo(string command, string arguments)
        {
            var processInfo = new ProcessStartInfo(command, arguments)
                {
                    RedirectStandardError = true,
                    RedirectStandardOutput = true,
                    UseShellExecute = false,
                    WindowStyle = ProcessWindowStyle.Hidden,
                    CreateNoWindow = true
                };
            return processInfo;
        }
    }