Skip to content

Commit 36634fe

Browse files
committed
fix(run_in_container): drop hardcoded --full-auto flag
The wrapper always appended --full-auto, overriding user-supplied --mode/--approval-mode parameters. Removing the flag lets Codex respect CLI options on Linux the same way it does on macOS. Refs #781 - #781
1 parent b864cc3 commit 36634fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codex-cli/scripts/run_in_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ quoted_args=""
9292
for arg in "$@"; do
9393
quoted_args+=" $(printf '%q' "$arg")"
9494
done
95-
docker exec -it "$CONTAINER_NAME" bash -c "cd \"/app$WORK_DIR\" && codex --full-auto ${quoted_args}"
95+
docker exec -it "$CONTAINER_NAME" bash -c "cd \"/app$WORK_DIR\" && codex ${quoted_args}"

0 commit comments

Comments
 (0)