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

a smal bug in runing code #57

Closed
aliraza7926 opened this issue Jun 11, 2019 · 3 comments
Closed

a smal bug in runing code #57

aliraza7926 opened this issue Jun 11, 2019 · 3 comments

Comments

@aliraza7926
Copy link

when I press f6 code compiles successfully but it doesn't run

as you can see it must be .\test.exe but it is "test.exe" and it can't run

Screenshot (229)

  • VSCode Version: 1.35.0
  • OS Version: Windows_NT x64 10.0.17134
@ViniciusSSilva
Copy link

I was having the same issue, this worked for me:

  • Press: Ctrl+Shift+P
  • Search: "Terminal: Select Default Shell"
  • Select the powershell option

I guess that on this new VSCode update it changed to Git as default shell so the extension doesn't uses the cmd /c

@eagskunst
Copy link

@ViniciusSSilva solution worked for me. But changing the default shell could make other extension/vs code to fail or not work properly? I don't know if there is a way to detect which Bash is selected as default by the user so the extension could properly execute the 2nd command.

@aliraza7926
Copy link
Author

@ViniciusSSilva it is work thanks a lot

danielpinto8zz6 added a commit that referenced this issue Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants