pub fn execute_shell(cmd: &ShellCommand) -> Result<ShellResult, ToolError>Expand description
Execute a shell command and return the result.
For now this dispatches as a builtin tool – actual WASM compilation of shell commands is deferred to a future sprint. The sandbox config is stored on the result for governance auditing.
When the exochain feature is enabled and a [ChainManager] is
provided, the execution is chain-logged as a shell.exec event.