<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Dec 1, 2013 at 7:13 PM, Maciej Poleski <span dir="ltr"><<a href="mailto:d82ks8djf82msd83hf8sc02lqb5gh5@gmail.com" target="_blank">d82ks8djf82msd83hf8sc02lqb5gh5@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
Some processes ends with exit code different than 0 and still we want to<br>
consider this status as exit success. How to make KJob consider some positive<br>
return code as success?<br>
<br>
Best Regards<br>
<span class=""><font color="#888888">Maciej Poleski<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kde.org">KDevelop-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdevelop-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kdevelop-devel</a><br>
</font></span></blockquote></div><br></div><div class="gmail_extra">You probably want KJob::setError.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKJob.html#a859926d61ecfde11a13410abab4790a8">http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKJob.html#a859926d61ecfde11a13410abab4790a8</a><br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra">Aleix</div></div>