[wayland] Pass command line arguments to launched processes
ClosedPublic

Authored by zzag on Apr 28 2020, 12:53 PM.

Details

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.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Apr 28 2020, 12:53 PM
Restricted Application added a project: KWin. · View Herald TranscriptApr 28 2020, 12:53 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Apr 28 2020, 12:53 PM
zzag edited the test plan for this revision. (Show Details)Apr 28 2020, 12:53 PM
zzag updated this revision to Diff 81429.Apr 28 2020, 12:54 PM

Sort includes alphabetically.

cblack accepted this revision.Apr 28 2020, 2:20 PM
This revision is now accepted and ready to land.Apr 28 2020, 2:20 PM
davidedmundson accepted this revision.Apr 28 2020, 4:11 PM
apol accepted this revision.Apr 28 2020, 5:52 PM
apol added a subscriber: apol.

Thanks!

This revision was automatically updated to reflect the committed changes.