Handling exit status in KJob
Aleix Pol
aleixpol at kde.org
Mon Dec 2 00:39:07 UTC 2013
On Sun, Dec 1, 2013 at 7:13 PM, Maciej Poleski <
d82ks8djf82msd83hf8sc02lqb5gh5 at gmail.com> wrote:
> Hi,
>
> Some processes ends with exit code different than 0 and still we want to
> consider this status as exit success. How to make KJob consider some
> positive
> return code as success?
>
> Best Regards
> Maciej Poleski
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop-devel
>
You probably want KJob::setError.
http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKJob.html#a859926d61ecfde11a13410abab4790a8
Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20131202/2a312329/attachment.html>
More information about the KDevelop-devel
mailing list