processes#
This module contains subprocess related methods - just one for now.
run_process#
- pocketwelt.processes.run_process(command: str) str#
Run a shell command and return its output.
- Parameters:
command (str) – The shell command to execute.
- Raises:
subprocess.SubprocessError – If the command execution results in an error.
- Returns:
Output of the executed command.
- Return type:
str