Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: RunCommand calling scripts with incorrect executable path
Fixes python-poetryGH-965 Calling `sys.argv` should run the same program as the currently running program. To make calling Poetry scripts through RunCommand match this behavior, we must set `sys.argv[0]` to be the full path of the executable. This change makes the behavior of calling a script through `poetry run` the same as calling a script directly from the .venv/bin.
- Loading branch information