Re-enable custom command template application (#470)

pull/474/head
Luka Markušić 10 months ago committed by GitHub
parent e8e808ff47
commit 937a6a9c93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save