Skip to main content

Module cmd

Module cmd 

Source
Expand description

Thin wrapper around std::process::Command / tokio::process::Command that attaches the binary path to any spawn error so “No such file or directory” always says which file was missing.

Traits§

CommandErrorContext
Extension trait that maps spawn errors to include the program path.
SyncCommandErrorContext
Sync version for std::process::Command.