https://bugs.kde.org/show_bug.cgi?id=433362

--- Comment #11 from Nikos Chantziaras <rea...@gmail.com> ---
(In reply to Nate Graham from comment #10)
> It was reverted pending a better fix; re-opening this.

kstart5 does seem to support "-- ", where everything following it is parsed as
part of the command to be executed, not as options to kstart5. For example this
works when called from the command line:

  $ kstart5 -- kdocker -d 20 -m -q dolphin

So I tested this and it works:

  if (!kstart.isEmpty()) {
      parts.prepend(command);
      parts.prepend("--");
      QProcess::startDetached(kstart, parts);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to