<table><tr><td style="">hein retitled this revision from "Don't proceed in runCommandInternal if the executable doesn't exit" to "Stuff the "Couldn't find executable" message box into a queued lambda".<br />hein edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ppl6g2qxndl3qkj/" rel="noreferrer">(Show Details)</a>
</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/D10405" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Without this patch, runCommandInternal tries running first and<br />
handles a missing executable in slotProcessExited after process<br />
execution ended with a non-zero exit code.<br />
<br />
One of the side-effects is that a startup notification is created<br />
even if nothing is ultimately run.<br />
<br />
With this patch, we check for executable existence first and<br />
abort if we can't find it.<br />
<br />
</span>This fixes a Plasma shell crash in the Task Manager applet: We<div style="padding: 8px 0;">...</div>delegate and crash.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">BUG:385942</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">The patch instead opens the message box from a queued-up lambda<br />
run in the context of qGuiApp (guarded by a test for qGuiApp)<br />
so we escape the caller before starting the nested event loop.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10405" rel="noreferrer">https://phabricator.kde.org/D10405</a></div></div><br /><div><strong>To: </strong>hein, dfaure, davidedmundson, mart, ngraham<br /><strong>Cc: </strong>Frameworks, michaelh<br /></div>