cleo
cleo copied to clipboard
Poetry run doesn't work with --directory=
Description
Doesn't work:
poetry run --directory={path} python file.py
Works:
poetry run --directory {path} python file.py
See comment by @Agalin in https://github.com/python-poetry/poetry/issues/7507#issuecomment-1463845304
See https://github.com/python-poetry/poetry/issues/9623
Workarounds
Yes, use --directory {path}
instead of --directory={path}
Poetry Installation Method
pipx
Operating System
Ubuntu 22
Poetry Version
1.8.3
Poetry Configuration
No response
Python Sysconfig
No response
Example pyproject.toml
No response
Poetry Runtime Logs
No response