vscode: The terminal process "zsh '-l'" failed to launch (exit code: 1).

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: Version: 1.57.0 Commit: b4c1bd0a9b03c749ea011b06c6d2676c8091a70c
  • OS Version: macOS Big Sur 11.3.1

Hi,

After today’s update I get an error when I try to open Integrated Terminal (zsh)

execvp(3) failed.: Permission denied

The terminal process “zsh ‘-l’” failed to launch (exit code: 1).

Screenshot: Screenshot 2021-06-11 at 10 21 31

settings.json: "terminal.integrated.defaultProfile.osx": "zsh", "terminal.integrated.cwd": "${workspaceFolder}", "terminal.integrated.cursorStyle": "line", "terminal.integrated.cursorBlinking": true, "terminal.integrated.fontSize": 12, "terminal.integrated.fontWeightBold": "600", "terminal.integrated.cursorWidth": 2, "terminal.integrated.tabs.location": "left",

Tried to remove my settings for this - same error.

Bash works.

Please help 😃 Thanks

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 17 (6 by maintainers)

Most upvoted comments

FWIW - adding the following setting fixed things for me:

    "terminal.integrated.profiles.linux": {
        "bash": {
            "path": "/bin/bash"
        },

    },

Which by default just points to bash - without a path.

It works again after removing the homebrew version of zsh.

brew uninstall zsh

Since Mac already provides a zsh installation in /bin/zsh everything works as before for now.