exec_sh#

ignis.utils.Utils.exec_sh(command: str) CompletedProcess#

Execute a shell (bash) command.

Parameters:

command (str) -- The command to execute.

Returns:

The result of the command execution. You can use the stdout property to get the command's output.

Return type:

subprocess.CompletedProcess