Handling exit status in KJob

Milian Wolff mail at milianw.de
Sun Dec 1 19:11:12 UTC 2013

On Sunday 01 December 2013 19:13:22 Maciej Poleski 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?

A KJob has no notion of an exit code. So what exactly do you have in mind? You 
probably start some QProcess in a Job (which one?). Then, make sure to set 
some error status on the job class when the process fails.

Milian Wolff
mail at milianw.de

More information about the KDevelop-devel mailing list