diff --git a/window.cpp b/window.cpp index 899cd0a..568eb69 100644 --- a/window.cpp +++ b/window.cpp @@ -125,7 +125,7 @@ void Window::executeConfig(const EntryConfig &config) QString cmd = settingsProvider->getTerminalCommand(); cmd.replace("%c", config.command); QStringList args = QProcess::splitCommand(cmd); - QProcess::startDetached(cmd, args); + QProcess::startDetached(args[0], args); } else {