jayvdb / tox-backticks

tox-backticks allows use of backticks within setenv to run commands to populate environment variables that can then be accessed using {env:var}
https://pypi.org/project/tox-backticks/
MIT License
5 stars 3 forks source link

Handle command invocation errors #4

Closed jayvdb closed 5 years ago

jayvdb commented 5 years ago

If the command fails, the output is likely not what they user expected, and the result shouldnt be stored.

e.g. running python script.py args results in the following if the script is missing.

py37 backticks: FOO=/path/to/.tox/py37-pip/bin/python: can't open file 'script.py': [Errno 2] No such file or directory