5.1.2.1. BashWrapper¶
-
class
mfutil.BashWrapper(bash_cmd)[source]¶ Bases:
objectBash command/output wrapper.
Attributes Summary
codeReturn the status code of the command as int (0 => ok). stderrReturn the stderr output of the command stripped and utf8 decoded. stdoutReturn the stdout output of the command stripped and utf8 decoded. Attributes Documentation
-
code¶ Return the status code of the command as int (0 => ok).
-
stderr¶ Return the stderr output of the command stripped and utf8 decoded.
Returns: (string) stderr output (stripped and utf8 decoded).
-
stdout¶ Return the stdout output of the command stripped and utf8 decoded.
Returns: (string) stdout output (stripped and utf8 decoded).
-