Skip to content

"Run Python File in Terminal" doesn't work with (Git Bash/cmd) #16306

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

Closed
Mohamed3nan opened this issue May 22, 2021 · 1 comment
Closed

"Run Python File in Terminal" doesn't work with (Git Bash/cmd) #16306

Mohamed3nan opened this issue May 22, 2021 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@Mohamed3nan
Copy link

Hello,

when trying to run a python file using Git Bash I get this error: "bash: syntax error near unexpected token `&'"

image

also the same with cmd :

image

while only PowerShell is working

I test the same setting in VScode insider and there is no problem,

this is my setting.json:

image

VScode last version and python too

@Mohamed3nan Mohamed3nan added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels May 22, 2021
@karrtikr karrtikr self-assigned this May 24, 2021
@karrtikr karrtikr added triage and removed triage-needed Needs assignment to the proper sub-team labels May 24, 2021
@karrtikr
Copy link

Closing as dup of #16175. Please try the workaround mentioned here #16175 (comment).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2021
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
Projects
None yet
Development

No branches or pull requests

2 participants