Skip to main content

join_command

Function join_command 

Source
pub fn join_command(args: &[String]) -> String
Expand description

Join multiple CLI arguments into a single command string, using quoting conventions appropriate for the detected shell.

On Unix, this always produces POSIX-compatible quoting. On Windows, the quoting adapts to the actual shell (PowerShell, cmd.exe, or Git Bash / MSYS).