Skip to main content

shell_command_for_argv

Function shell_command_for_argv 

Source
pub fn shell_command_for_argv(argv: &[String]) -> String
Expand description

Converts an argv vector into one shell command string for a model-facing command field. Existing platform shell wrappers are unwrapped so their script is preserved; direct argv items are quoted for the host shell.