Utils
This module provides general purpose utilities that are not specific to any subsystem.
| FUNCTION | DESCRIPTION |
|---|---|
execute_command_sync |
Execute arbitrary command |
get_timestamp |
Get timezone aware timestamp. |
Functions:¶
execute_command_sync(*, command, logger_name=None, allow_char=None)
¶
Execute arbitrary command
If the command returns a return code different from zero, a RuntimeError
is raised.
| PARAMETER | DESCRIPTION |
|---|---|
|
Command to be executed.
TYPE:
|
|
Name of the logger.
TYPE:
|
|
Argument propagated to
TYPE:
|