<div>cmd /c notepad should wait for notepad to complete before returning<br></div><div>whereas the code only waited for GUI apps to complete when they</div><div>were launched from a batch program (ie with a context).</div>
<div><br></div><div>[Fixes bug 19668]</div>