keys: don't show output of import command
This commit is contained in:
parent
00a5e73c1f
commit
804829cedc
|
@ -73,10 +73,11 @@ namespace SparkleShare {
|
||||||
{
|
{
|
||||||
Process process = new Process ();
|
Process process = new Process ();
|
||||||
|
|
||||||
process.StartInfo.FileName = "ssh-add";
|
process.StartInfo.FileName = "ssh-add";
|
||||||
process.StartInfo.Arguments = "\"" + key_file_path + "\"";
|
process.StartInfo.Arguments = "\"" + key_file_path + "\"";
|
||||||
process.StartInfo.UseShellExecute = false;
|
process.StartInfo.UseShellExecute = false;
|
||||||
process.StartInfo.CreateNoWindow = true;
|
process.StartInfo.CreateNoWindow = true;
|
||||||
|
process.StartInfo.RedirectStandardError = true;
|
||||||
|
|
||||||
process.Start ();
|
process.Start ();
|
||||||
process.WaitForExit ();
|
process.WaitForExit ();
|
||||||
|
|
Loading…
Reference in a new issue