-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Labels
Description
Summary
Shell based tasks are not running in WSL because they are being run with zsh -C
instead of zsh -c
Description
My tasks stopped working after a recent nightly update. I noticed that they are now being run with zsh -C
instead of zsh -c
Steps to reproduce:
- Open a WSL project and configure project tasks with the following:
{
"label": "Print Working Directory",
"command": "pwd"
},
- Open a file in the project and run the task
Expected Behavior:
The task should print the project directory and exit successfully
Actual Behavior:
The following is output:
/usr/bin/zsh: can't open input file: pwd
⏵ Task `Print Working Directory` finished with non-zero error code: 127
⏵ Command: /usr/bin/zsh -C 'pwd'
Zed Version and System Specs
Zed: v0.208.0 (Zed Nightly f9919f9)
OS: Windows 10.0.26100
Memory: 31.5 GiB
Architecture: x86_64
GPU: Intel(R) Arc(TM) Graphics || Intel Corporation || 32.0.101.5978