Execution in CMD Instead of Default Terminal Profile on Windows #53
Labels
os: windows
Issues that affect users on Windows.
state: needs triage
Waiting to be triaged by a maintainer.
First of all, thanks for developing this awesome extension!
I'm running vscode on Windows. However, for projects involving tasks, I set my default shell to Git Bash to be able to write cross-platform compatible Taskfiles.
Now, if I start a task via the extension, I believe it will execute the commands in CMD. I think this is quite problematic as a fixed default for Windows, since PowerShell has at least some command aliases for typical Linux-style commands.
Thus, I would suggest two changes:
For anyone having the same problem, as a workaround, I'm currently using the option
"outputTo": "terminal"
.How to reproduce:
With the above Taskfile, if I run the task ls from the extension and have "outputTo": "output", I get the following output:
However, if I set "outputTo": "terminal" and last used Git Bash, running the task ls from the extension, I get the expected output:
The text was updated successfully, but these errors were encountered: