fix: Unable to run program with options

Issue: https://pms.uniontech.com/bug-view-243475.html
Log: Unable to run program with options
Signed-off-by: Yutao Meng <mengyutao@deepin.org>
This commit is contained in:
Yutao Meng 2024-08-28 13:51:46 +08:00 committed by Comix
parent 0e6c21360c
commit 18a176c223

View File

@ -295,7 +295,7 @@ ApplicationService::Launch(const QString &action, const QStringList &fields, con
if (terminal()) { if (terminal()) {
// don't change this sequence // don't change this sequence
execCmds.push_front("-C"); // means run a shellscript execCmds.push_front("-e"); // run all original execution commands in deepin-terminal
execCmds.push_front("--keep-open"); // keep terminal open, prevent exit immediately execCmds.push_front("--keep-open"); // keep terminal open, prevent exit immediately
execCmds.push_front("deepin-terminal"); execCmds.push_front("deepin-terminal");
} }