5.1.2.1. BashWrapper¶
-
class
mfutil.BashWrapper(bash_cmd)[source]¶ Bases:
objectBash command/output wrapper.
Attributes Summary
Return the status code of the command as int (0 => ok).
Return the stderr output of the command stripped and utf8 decoded.
Return 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).
-