Skip to content
Commit 04e4240c authored by Cauê Baasch de Souza's avatar Cauê Baasch de Souza Committed by Sébastien Eustace
Browse files

Add shell command (#201)

* Add shell command

* Make shell command Python2-compatible

* Add provisional Windows support; handle unset SHELL variable

* Reformatted with black

* Handle already activated virtualenvs

* Add comments to shell command code

* Remove splat operator to support Python 2

* Use "1" for POETRY_ACTIVE instead of virtualenv path

* Handle non-existing virtualenv when virtualenvs.create is false

* Handle unexisting virtualenvs in a broader way

* Check if POETRY_ACTIVE is specifically set to a true value

* Use utils.shell to get path to running shell
parent 1a82099d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment