D29253: [wayland] Pass command line arguments to launched processes

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

REVISION SUMMARY
  Since QProcess::setProgram() doesn't split the command, we need to do it
  ourselves.

TEST PLAN
  dbus-run-session kwin_wayland "kate foo.txt" works again.

REPOSITORY
  R108 KWin

BRANCH
  split-args

REVISION DETAIL
  https://phabricator.kde.org/D29253

AFFECTED FILES
  main_wayland.cpp

To: zzag, #kwin
Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.