mirror of
https://github.com/microsoft/PowerToys
synced 2024-11-23 01:19:17 +00:00
Fix a bug with WindowsShellRun
This commit is contained in:
parent
5c6b741dc4
commit
4622c86ae1
@ -205,7 +205,7 @@ namespace Wox.Infrastructure
|
||||
// there might be args in that command
|
||||
args = PathGetArgs(cmd);
|
||||
if (args != null)
|
||||
cmd = cmd.Substring(0, cmd.Length - args.Length);
|
||||
cmd = cmd.Substring(0, cmd.Length - args.Length - 1);
|
||||
}
|
||||
else
|
||||
args = null;
|
||||
|
Loading…
Reference in New Issue
Block a user