UseShellExecute = true

pull/5940/head
2dust 2024-10-26 17:55:36 +08:00
parent ade789c6d4
commit 2f02c2970c
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ namespace ServiceLib.ViewModels
{ {
StartInfo = new ProcessStartInfo StartInfo = new ProcessStartInfo
{ {
UseShellExecute = true,
FileName = fileName, FileName = fileName,
Arguments = arg.AppendQuotes(), Arguments = arg.AppendQuotes(),
WorkingDirectory = Utils.StartupPath() WorkingDirectory = Utils.StartupPath()