PluginTestbed.TortoiseSvnPlugin.TortoiseSvnManager.CallProcessWithArguments C# (CSharp) Method

CallProcessWithArguments() private method

private CallProcessWithArguments ( string processFileName, string arguments, bool showWindow ) : Process
processFileName string
arguments string
showWindow bool
return System.Diagnostics.Process
        private Process CallProcessWithArguments(string processFileName, string arguments, bool showWindow)
        {
            Process process = new Process();

            process.StartInfo.FileName = "\"" + processFileName + "\"";
            process.StartInfo.Arguments = arguments;

            process.StartInfo.UseShellExecute = showWindow;
            process.StartInfo.RedirectStandardOutput = !showWindow;
            process.StartInfo.RedirectStandardError = !showWindow;
            process.StartInfo.CreateNoWindow = !showWindow;

            process.Start();

            return process;
        }

Same methods

TortoiseSvnManager::CallProcessWithArguments ( string processFileName, string arguments ) : void