exec_sh#

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

Execute a shell (bash) command.

Parameters:

command (str) -- The command to execute.

Return type:

CompletedProcess

Returns:

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