Support for Terminal commands #21

Fechado
crtxcr quer aplicar o merge de 3 commits de wip/terminalkeyword em master
Mostrando apenas as alterações do commit 1ce3a6c397 - Mostrar todos os commits

Ver arquivo

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