diff --git a/src/Native/Windows.cs b/src/Native/Windows.cs index a48efe0a..18326fa6 100644 --- a/src/Native/Windows.cs +++ b/src/Native/Windows.cs @@ -203,7 +203,7 @@ namespace SourceGit.Native public void OpenWithDefaultEditor(string file) { var info = new FileInfo(file); - var start = new ProcessStartInfo("cmd", $"/c start {info.FullName}"); + var start = new ProcessStartInfo("cmd", $"/c start \"\" \"{info.FullName}\""); start.CreateNoWindow = true; Process.Start(start); }