Ver Fonte

修改命令参数

老九 há 3 anos atrás
pai
commit
1efc342a46
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      FastGithub.UI/App.xaml.cs

+ 1 - 1
FastGithub.UI/App.xaml.cs

@@ -87,7 +87,7 @@ namespace FastGithub.UI
             var startInfo = new ProcessStartInfo
             var startInfo = new ProcessStartInfo
             {
             {
                 FileName = fileName,
                 FileName = fileName,
-                Arguments = $"ParentProcessId {Process.GetCurrentProcess().Id}",
+                Arguments = $"ParentProcessId={Process.GetCurrentProcess().Id}",
                 UseShellExecute = false,
                 UseShellExecute = false,
                 CreateNoWindow = true
                 CreateNoWindow = true
             };
             };