Fail to start api for `todo-python-mongo` when default terminal is `Git Bash` in Windows
Describe the issue:
In Windows, when the default terminal is bash, starting the api fails and the terminal reports the following error message:
Repro Steps:
- Login in with command:
azd auth login. - Execute command:
azd init -t todo-python-mongo -b stagingorazd init -t todo-python-mongo -b pr/3976. - Run
azd up. - Hit F1 -> Run Task -> Start API.
Environment:
- Template:
todo-python-mongo - Branch:
stagingorpr/3976 - OS:
Windows - Azd version:
azd version 1.10.0-beta.1-daily.3947259 (commit 5bf8568b1566723be8bc2259c578df4f931cf430)
Expected behavior:
The api can be successfully started when the default terminal is bash in windows.
@jongio for notification
Do you mean the default VS Code terminal is bash? Is that a project setting? In Windows it would be Git Bash, not bash directly.
Do you mean the default VS Code terminal is bash? Is that a project setting? In Windows it would be Git Bash, not bash directly.
@jongio The default VS Code terminal is not Git Bash. When it is changed to Git Bash, this issue will occur. This is not a project setting.
In Windows, should we consider both pwsh and Git Bash to support running command tasks? Or is just pwsh enough?
@rajeshkamal5050 Is there someone that can help figure out what is happening here?
@rajeshkamal5050 and @jongio In the latest round of azd manual testing, this issue still exists.
- Template:
todo-python-mongo,todo-python-mongo-terraform. - Branch:
staging. - OS: Windows.
- Azd version: azd version 1.10.3-pr.4243081 (commit 2c05c152915bdfd82e20d3350f249b22accd3deb) and azd version 1.11.0-beta.1-daily.4244391 (commit 8fc9d80640aa6f45f1a7d7631087c4a5f54e9e63).