Issue
vagrant ssh default --command='poetry shell' fails with
Unable to detect the current shell.
If I instead run vagrant ssh default and then poetry shell it works fine.
I've also tried variants like vagrant ssh default --command='bash -ic "poetry shell"' with the same result.
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).OS version and name: Ubuntu 18.04
Poetry version: 1.0.5
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/dms-cat/651c4fe2e55a83984b6cdb436eb102a1
Issue
vagrant ssh default --command='poetry shell'fails withIf I instead run
vagrant ssh defaultand thenpoetry shellit works fine.I've also tried variants like
vagrant ssh default --command='bash -ic "poetry shell"'with the same result.