<table><tr><td style="">geetamc created this revision.<br />Restricted Application added a subscriber: kdevelop-devel.
</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/D6505" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Instead of first splitting the arguments, and replacing %exe and %workdir by their quoted values,<br />
the values are replaced first and split later which strips the command of \^" at beginning and end.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Executing in external terminal works fine after the patch:<br />
-when executable path contains spaces (on both windows and linux.)<br />
-when it does not contain any spaces.<br />
before:<br />
<a href="https://phabricator.kde.org/F3803895" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F3803895: before.png</a><br />
after:<br />
<a href="https://phabricator.kde.org/F3803896" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F3803896: after.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6505" rel="noreferrer">https://phabricator.kde.org/D6505</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/execute/nativeappjob.cpp</div></div></div><br /><div><strong>To: </strong>geetamc, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>