openSUSE/cheetah — pull request #19 by bkutil (2013-01-06 09:01:41+00:00)
Title: Allow nonzero exitstatus (issue #16)

In certain cases (notably pidof and ps), the nonzero exit status cannot be avoided, while the successful execution is still desirable.

This patch adds :allowstatus option, in which the user can explicitly enumerate allowed exit statuses. ExecutionFailed exception won't be raised if the command returns one of these statuses.