From 8aecf2d82ffc3d528e6ff39b432ebd54e4d81db4 Mon Sep 17 00:00:00 2001 From: not-matthias Date: Tue, 12 May 2026 15:36:26 -0700 Subject: [PATCH] fix(cli): preserve argument quoting for SingleCommand using shell_words::join --- src/cli/run/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/run/mod.rs b/src/cli/run/mod.rs index b3cd0569..f0d569e3 100644 --- a/src/cli/run/mod.rs +++ b/src/cli/run/mod.rs @@ -177,7 +177,7 @@ pub async fn run( RunTarget::SingleCommand(args) => { // SingleCommand: working_directory comes from --working-directory CLI flag only. // Config file's working-directory is NOT used. - let command = args.command.join(" "); + let command = shell_words::join(&args.command); let poll_opts = PollResultsOptions::new(output_json, base_run_id); let config = build_orchestrator_config( args,