mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Change shellexecute for command without argument
This commit is contained in:
parent
6072db5680
commit
82d4e824a5
1 changed files with 2 additions and 1 deletions
|
|
@ -264,7 +264,6 @@ namespace Flow.Launcher.Plugin.Shell
|
||||||
var arguments = parts[1];
|
var arguments = parts[1];
|
||||||
info.FileName = filename;
|
info.FileName = filename;
|
||||||
info.ArgumentList.Add(arguments);
|
info.ArgumentList.Add(arguments);
|
||||||
info.UseShellExecute = true;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -276,6 +275,8 @@ namespace Flow.Launcher.Plugin.Shell
|
||||||
info.FileName = command;
|
info.FileName = command;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
info.UseShellExecute = true;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue