<table><tr><td style="">dfaure created this revision.<br />dfaure added reviewers: apol, davidedmundson, nicolasfella, vkrause, broulik.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />dfaure requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28020">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is meant to replace KRun::runApplication/runService,<br />
without the QWidget dependency, for most use cases. One exception:<br />
applications who want to allow the user to make desktop files executable<br />
(this requires messageboxes, and therefore is still in KRun).</p>
<p>The code is mostly based on KRun's internal KProcessRunner class,<br />
now moved to KIOGui, but still private.</p>
<p>Next step: also routing KRun::runCommand via ProcessLauncherJob,<br />
and then writing OpenUrlJob on top of ProcessLauncherJob (but<br />
runUrl calling KOpenWithDialog is a problem in KIOGui...).</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>see new unittest (which is based on krununittest)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>2020_ProcessLauncherJob</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28020">https://phabricator.kde.org/D28020</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/CMakeLists.txt<br />
autotests/kiotesthelper.h<br />
autotests/processlauncherjobtest.cpp<br />
autotests/processlauncherjobtest.h<br />
src/gui/CMakeLists.txt<br />
src/gui/config-kiogui.h.cmake<br />
src/gui/kprocessrunner.cpp<br />
src/gui/kprocessrunner_p.h<br />
src/gui/processlauncherjob.cpp<br />
src/gui/processlauncherjob.h<br />
src/widgets/CMakeLists.txt<br />
src/widgets/krun.cpp<br />
src/widgets/krun.h<br />
src/widgets/krun_p.h</div></div></div><br /><div><strong>To: </strong>dfaure, apol, davidedmundson, nicolasfella, vkrause, broulik<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>