From 74a2dd9339752b5a872e2cf4c3a8a5dde3f0abe0 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 22 Jun 2011 23:40:43 +0100 Subject: [PATCH] controller: quote key path when importing key --- SparkleShare/SparkleController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index c889fa1f..90174b37 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -728,7 +728,7 @@ namespace SparkleShare { process.StartInfo.RedirectStandardOutput = true; process.StartInfo.UseShellExecute = false; process.StartInfo.FileName = "ssh-add"; - process.StartInfo.Arguments = Path.Combine (keys_path, key_file_name); + process.StartInfo.Arguments = "\"" + Path.Combine (keys_path, key_file_name) + "\""; process.Start (); process.WaitForExit (); }