Wraps processx::run with consistent error handling. Returns a list with status, stdout, and stderr. Never throws — failures are indicated by a non-zero status.
Usage
run_command_safe(command, args = character(), timeout = 30)Wraps processx::run with consistent error handling. Returns a list with status, stdout, and stderr. Never throws — failures are indicated by a non-zero status.
run_command_safe(command, args = character(), timeout = 30)