Function build_command_line
pub fn build_command_line(application: &str, args: &[String]) -> Vec<u16>Expand description
Build command line string for Windows process creation
§Arguments
application- Application name including file extensionargs- List of arguments to the application
§Returns
UTF-16 encoded command line with proper quoting
§Examples
use csshw_lib::utils::windows::build_command_line;
let cmd_line = build_command_line("cmd.exe", &["arg1".to_string(), "arg2".to_string()]);
// Returns UTF-16 encoded: "cmd.exe" "arg1" "arg2"\0