Skip to content

Commit 8aecf2d

Browse files
committed
fix(cli): preserve argument quoting for SingleCommand using shell_words::join
1 parent d32d356 commit 8aecf2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cli/run/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pub async fn run(
177177
RunTarget::SingleCommand(args) => {
178178
// SingleCommand: working_directory comes from --working-directory CLI flag only.
179179
// Config file's working-directory is NOT used.
180-
let command = args.command.join(" ");
180+
let command = shell_words::join(&args.command);
181181
let poll_opts = PollResultsOptions::new(output_json, base_run_id);
182182
let config = build_orchestrator_config(
183183
args,

0 commit comments

Comments
 (0)