5.1.2.3. BashWrapperOrRaise

class mfutil.BashWrapperOrRaise(bash_cmd, exception_class=<class 'mfutil.BashWrapperException'>, exception_msg='bad return code')[source]

Bases: mfutil.BashWrapper

BashWrapper subclass which raise an exception if status_code != 0.