flowbber.utils.command
¶Utilities for calling commands.
run()
:
Execute a command safely and returns its results.flowbber.utils.command.
run
(command)¶Execute a command safely and returns its results.
Returns a namedtuple with the following attributes:
stdout
: Standard output of the command as UTF-8.stderr
: Standard error of the command as UTF-8.returncode
: Return code of the command.