broulik created this revision. broulik added reviewers: Plasma, dfaure. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY The existing `--service` is kept for compatibility as it prints out the actually registered DBus name. A new argument `--application` is added which also takes a desktop //name//. It prints the launched PID. TEST PLAN - `kstart5 kwrite` launches kwrite - `kstart5 --application org.kde.kwrite` launches kwrites and has it properly scoped - `kstart5 --application org.kde.kwrite --maximize` launches kwrite and has it properly scoped and its window maximized - `kstart5 --application org.kde.kwrite --url file:///home/foo/bar` launches kwrite with that file open REPOSITORY R126 KDE CLI Utilities REVISION DETAIL https://phabricator.kde.org/D29621 AFFECTED FILES kstart/CMakeLists.txt kstart/kstart.cpp To: broulik, #plasma, dfaure Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart