Home Assistant Unofficial Reference 2024.12.1
utils.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.command_line.utils
 

Functions

int homeassistant.components.command_line.utils.async_call_shell_with_timeout (str command, int timeout, *bool log_return_code=True)
 
str|None homeassistant.components.command_line.utils.async_check_output_or_log (str command, int timeout)
 

Variables

int homeassistant.components.command_line.utils._EXEC_FAILED_CODE = 127
 
 homeassistant.components.command_line.utils._LOGGER = logging.getLogger(__name__)