Merge pull request #2665 from Flow-Launcher/taooceros-patch-1

Change shellexecute for command without argument
This commit is contained in:
VictoriousRaptor 2024-04-24 21:08:32 +08:00 committed by GitHub
commit 2d125618ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -264,7 +264,6 @@ namespace Flow.Launcher.Plugin.Shell
var arguments = parts[1];
info.FileName = filename;
info.ArgumentList.Add(arguments);
info.UseShellExecute = true;
}
else
{
@ -276,6 +275,8 @@ namespace Flow.Launcher.Plugin.Shell
info.FileName = command;
}
info.UseShellExecute = true;
break;
}
default: