-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
bug[core label][core label]tasksterminalFeedback for terminal integration, shell commands, etcFeedback for terminal integration, shell commands, etc
Description
Check for existing issues
- Completed
Describe the bug / provide steps to reproduce it
When creating or editing a new task and attempting to run it, the task does not execute. No terminal window appears, and the following error is logged: IOError: Failed to spawn command '/bin/zsh': Not a directory (os error 20).
Steps to Reproduce:
- Create a new task with the following configuration:
{ "label": "gitversion", "command": "docker run -it gittools/gitversion:5.12.0" } - Attempt to run the task.
- Observe that no terminal window appears and the task does not execute.
Expected Result:
The task should run successfully, and a terminal window should appear showing the output of the command.
Actual Result:
The task does not run, and no terminal window appears.
Environment
Zed: v0.161.2 (Zed)
OS: macOS 14.2.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
2024-11-15T09:52:24.174063Z [ERROR] Working directory: /Users/user/.config/zed/tasks.json Shell command: `/bin/zsh -i -c docker run -it gittools/gitversion:5.12.0`, IOError: Failed to spawn command '/bin/zsh': Not a directory (os error 20)
Caused by:
Failed to spawn command '/bin/zsh': Not a directory (os error 20)
Metadata
Metadata
Assignees
Labels
bug[core label][core label]tasksterminalFeedback for terminal integration, shell commands, etcFeedback for terminal integration, shell commands, etc