keys: don't show output of import command

This commit is contained in:
Hylke Bons 2012-07-15 17:21:27 +02:00
parent 2bbbb6e5f2
commit cf120f9f13

View file

@ -73,10 +73,11 @@ namespace SparkleShare {
{
Process process = new Process ();
process.StartInfo.FileName = "ssh-add";
process.StartInfo.Arguments = "\"" + key_file_path + "\"";
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;
process.StartInfo.FileName = "ssh-add";
process.StartInfo.Arguments = "\"" + key_file_path + "\"";
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;
process.StartInfo.RedirectStandardError = true;
process.Start ();
process.WaitForExit ();