Change shellexecute for command without argument

This commit is contained in:
Kevin Zhang 2024-04-23 16:29:39 -05:00 committed by GitHub
parent 6072db5680
commit 82d4e824a5
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: