Skip to content

Fix python3 wrapper shebang recursion#4

Merged
jianliang00 merged 1 commit into
mainfrom
codex/fix-python3-argument-list-error
Jan 7, 2026
Merged

Fix python3 wrapper shebang recursion#4
jianliang00 merged 1 commit into
mainfrom
codex/fix-python3-argument-list-error

Conversation

@jianliang00

Copy link
Copy Markdown
Owner

Motivation

  • Running python3 --help produced env: python3: Argument list too long because the #!/usr/bin/env python3 shebang could resolve to the wrapper itself on PATH, leading to recursive invocation.
  • Using an absolute interpreter path in the shebang prevents env from locating the wrapper and avoids the recursion/argument-length failure.

Description

  • Replace the shebang in the python3 wrapper from #!/usr/bin/env python3 to #!/usr/bin/python3 as a one-line change.
  • The modified file is python3 and the change has been committed.

Testing

  • No automated tests were run.

Codex Task

@jianliang00 jianliang00 merged commit 7e0650b into main Jan 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant