Support for Terminal commands #21

Closed
crtxcr wants to merge 3 commits from wip/terminalkeyword into master
Showing only changes of commit 1ce3a6c397 - Show all commits

View File

@ -123,7 +123,7 @@ void Window::executeConfig(const EntryConfig &config)
if(config.isTerminalCommand) if(config.isTerminalCommand)
{ {
QString cmd = settingsProvider->getTerminalCommand(); QString cmd = settingsProvider->getTerminalCommand();
cmd.replace("%c", config.command); cmd.replace("%c", config.command + " " + config.arguments.join(' '));
QProcess::startDetached(cmd); QProcess::startDetached(cmd);
} }
else else