<table><tr><td style="">ahmadsamir created this revision.<br />ahmadsamir added reviewers: Frameworks, dfaure.<br />Herald added a project: Frameworks.<br />ahmadsamir 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/D27216">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When a process that KRun tried to run fails to launch:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Tell the user when the executable could not be found</li>
<li class="remarkup-list-item">If we find an executable but it exited abnormally (exit code != 0 ), inform the user about that and suggest he tries running it from terminal to get more details</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>(Proceed with the sudo commands at your own risk :)):</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">'sudo chmod a-x /usr/bin/gwenview' then try opening a picutre with gwenview from e.g. dolphin, see the error message</li>
<li class="remarkup-list-item">break your system slightly: <tt style="background: #ebebeb; font-size: 13px;">sudo chmod a+x /usr/bin/gwenview & sudo mv /usr/lib64/libKF5Kipi.so.32.0.0 /usr/</tt> then try opening a picture with gwenview from dolphin, see the error message</li>
<li class="remarkup-list-item">Finally: <tt style="background: #ebebeb; font-size: 13px;">sudo mv /usr/libKF5Kipi.so.32.0.0 /usr/lib64/</tt> to unbreak your system</li>
</ul>
<p>BUG: 415567</p>
<p>FIXED-IN: 5.67</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>l-krun-exitcode (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27216">https://phabricator.kde.org/D27216</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/widgets/krun.cpp<br />
src/widgets/krun_p.h</div></div></div><br /><div><strong>To: </strong>ahmadsamir, Frameworks, dfaure<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>