I open "Git Bash" (git version 2.21.0.windows.1) and print the SHELL env variable, it displays bash.
$ echo $SHELL
bash
But doing the same with python (either version 2 or 3), results in:
>>> import os
>>> print(os.environ['SHELL'])
C:\Users\serj\bash
For some reason it prepends the current directory and the result is bogus, as there's no bash there. All other env variables are OK.
If this is a bug, how do I go about knowing if I should report to Python, git or MSYS ? Regular MSYS+python do work, so seems something special in this git package.