Re-enable custom command template application (#470)

This commit is contained in:
Luka Markušić 2023-08-03 12:38:53 +02:00 committed by GitHub
parent e8e808ff47
commit 937a6a9c93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,9 +18,8 @@ func (gui *Gui) createCommandMenu(customCommands []config.CustomCommand, command
return command.InternalFunction()
}
resolvedCommand := command.Command
if command.Shell {
resolvedCommand = gui.OSCommand.NewCommandStringWithShell(command.Command)
resolvedCommand = gui.OSCommand.NewCommandStringWithShell(resolvedCommand)
}
// if we have a command for attaching, we attach and return the subprocess error