diff --git a/SparkleLib/Git/SparkleGit.cs b/SparkleLib/Git/SparkleGit.cs index 88199245..a2390f69 100644 --- a/SparkleLib/Git/SparkleGit.cs +++ b/SparkleLib/Git/SparkleGit.cs @@ -32,6 +32,7 @@ namespace SparkleLib { StartInfo.RedirectStandardOutput = true; StartInfo.UseShellExecute = false; StartInfo.WorkingDirectory = path; + StartInfo.CreateNoWindow = true; if (!string.IsNullOrEmpty (ExecPath)) StartInfo.Arguments = "--exec-path=\"" + ExecPath + "\" " + args; diff --git a/SparkleShare/SparkleControllerBase.cs b/SparkleShare/SparkleControllerBase.cs index 081f40da..afd9831d 100755 --- a/SparkleShare/SparkleControllerBase.cs +++ b/SparkleShare/SparkleControllerBase.cs @@ -776,6 +776,7 @@ namespace SparkleShare { process.StartInfo.UseShellExecute = false; process.StartInfo.FileName = "ssh-add"; process.StartInfo.Arguments = "\"" + key_file_path + "\""; + process.StartInfo.CreateNoWindow = true; process.Start (); process.WaitForExit (); @@ -836,10 +837,11 @@ namespace SparkleShare { EnableRaisingEvents = true }; - process.StartInfo.WorkingDirectory = keys_path; - process.StartInfo.UseShellExecute = false; + process.StartInfo.WorkingDirectory = keys_path; + process.StartInfo.UseShellExecute = false; process.StartInfo.RedirectStandardOutput = true; - process.StartInfo.FileName = "ssh-keygen"; + process.StartInfo.FileName = "ssh-keygen"; + process.StartInfo.CreateNoWindow = true; // -t is the crypto type // -P is the password (none)