When running scripts from pipfile. Unix style environment variables are wrongly recognized as commands.
Expected result
hello=world is recognized as setting an environment variable
Actual result
Error: the command hello=world (from generic-script) could not be found within PATH.
Steps to replicate
- have the following part in
pipfile
[scripts]
generic-script = 'hello=world python --version'
$ pipenv run generic-script
When running scripts from pipfile. Unix style environment variables are wrongly recognized as commands.
Expected result
hello=worldis recognized as setting an environment variableActual result
Error: the command hello=world (from generic-script) could not be found within PATH.Steps to replicate
pipfile$ pipenv run generic-script