Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrated terminal: execvp(3): failed. No such file or directory #7850

Closed
normalser opened this issue Jun 18, 2016 · 4 comments
Closed

Integrated terminal: execvp(3): failed. No such file or directory #7850

normalser opened this issue Jun 18, 2016 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded

Comments

@normalser
Copy link

  • VSCode Version: 1.2.1
  • OS Version: OSX 10.11.5

Steps to Reproduce:

  1. Start VSCode
  2. Command Palette: Toggle Integrated Terminal

Terminal panel shows for a second with execvp(3): failed. No such file or directory and then closes.

It used to work in the past, not sure what happened that it stopped. Redownloaded VSCode but still the same problem

@normalser
Copy link
Author

This problem does not happen if i start code from terminal. It only happens when I start it from Finder/Spotlight.

@normalser
Copy link
Author

Ok, found the problem, not sure why it happens though:

When I start VSCode from Finder then User Settings have this:

"terminal.integrated.shell.osx": "/bin/zsh\nCOM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/GOD/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET=/private/tmp/com.apple.launchd.dMvrDCzGvG/ServiceProcessSocket",

but when i start code from Terminal then it is:

"terminal.integrated.shell.osx": "/bin/zsh"

I fixed this issue by overriding this value with "terminal.integrated.shell.osx": "/bin/zsh" in my settings and then it works. Not sure why that COM_GOOLGE_* stuff gets added there

@dbaeumer dbaeumer added bug Issue identified by VS Code Team member as probable bug terminal General terminal issues that don't fall under another label labels Jun 20, 2016
@Tyriar
Copy link
Member

Tyriar commented Jun 21, 2016

Can you try this out in the insiders build to see if that fixes your problem? Otherwise it's an issue with our environment parsing code.

@Tyriar Tyriar added info-needed Issue requires more information from poster and removed terminal General terminal issues that don't fall under another label labels Jun 21, 2016
@normalser
Copy link
Author

Insiders build seems not to have this problem. Although it does have problem with scrolling of terminal as described in here: #7817

@Tyriar Tyriar closed this as completed Jun 22, 2016
@Tyriar Tyriar removed the info-needed Issue requires more information from poster label Jun 22, 2016
@joaomoreno joaomoreno added the verified Verification succeeded label Sep 2, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants