mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
Fix a bug with WindowsShellRun
This commit is contained in:
@@ -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 - 1);
|
||||
cmd = cmd.Substring(0, cmd.Length - args.Length).Trim();
|
||||
}
|
||||
else
|
||||
args = null;
|
||||
|
||||
Reference in New Issue
Block a user