Describe the bug To Reproduce Actual behavior Expected behavior Screenshots
When we assign "Command Prompt" to "terminal.integrated.defaultProfile.windows" parameter, "&&" in code-runner.executorMap will be translated into "; if ($?) {
Steps to reproduce the behavior:
Translate "&&
Interpret "&&" as is.
If applicable, add screenshots to help explain your problem.
Probably it's a visual studio code side issue, but anyway I post it at here now.
I also found this problem. However, I found a temporary solution to this problem:
add "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe" in settings.json to make CodeRunner not translate & into ; if ($?) { }.
However, this will cause a warning in settings.json. I guess this may be because CodeRunner doesn't realize that vscode has abandoned the "terminal.integrated.shell.windows" setting.

@officer @blackpancake This issue has been fixed. Please install the latest version and have a try.

still have issue with bash....
still have issue with bash....
In CMD, this issue has been fixed.

@jack20951948 You could use below setting:
"code-runner.terminalRoot": "/"
@jack20951948 You could use below setting:
"code-runner.terminalRoot": "/"

yeah...I've already had this setting...
seems in git bash still have some issues
Most helpful comment
I also found this problem. However, I found a temporary solution to this problem:
add
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe"insettings.jsonto make CodeRunner not translate&into; if ($?) { }.However, this will cause a warning in
settings.json. I guess this may be because CodeRunner doesn't realize that vscode has abandoned the"terminal.integrated.shell.windows"setting.