Support for Terminal commands #21

已關閉
crtxcr wants to merge 3 commits from wip/terminalkeyword into master
共有 3 個文件被更改,包括 11 次插入2 次删除
Showing only changes of commit 1ce3a6c397 - Show all commits

查看文件

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