Skip to main content

execute

Function execute 

Source
pub async fn execute(args: &Value) -> Result<String, String>
Expand description

Execute a shell command and return its stdout/stderr combined as a String.

Unified Shell Adapter:

  • Windows: Tries pwsh first, then powershell.exe, then cmd /C.
  • Unix: Tries sh -c.