-
Notifications
You must be signed in to change notification settings - Fork 91
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
command always has prefix character "&" #633
Comments
vscode-maven/src/mavenTerminal.ts Lines 100 to 106 in 6399471
That's possibly because PowerShell was wrongly detected. What terminal are you actually using? (looks like Git Bash?) |
@Eskibear yes, output of PowerShell C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe profiles
Git Bash ...
Command Prompt ...
---------------------------
Windows PowerShell .... detected
Cygwin .... the PowerShell profile is highlight. |
My settings.json contains "terminal.integrated.tabs.enabled": true,
"terminal.integrated.scrollback": 1600,
"terminal.integrated.defaultProfile.windows": "Git Bash", only these three conditions for terminal. |
I can reproduce your issue by specifying above setting. In this extension default shell is inferred from I believe it's a vscode issue due related to shell profiles. |
Do you have entry "terminal.integrated.shell.windows" in your settings? If so, remove it. I just tried in latest insiders version, seems it has been fixed. |
No. I have already noted it. |
Root cause is It looks vscode team has fixed that (but not released into stable version), and I tried but not repro your issue in latest insiders version. Can you verify if the issue is still there in latest insiders version? |
The issue is still present in Version: 1.85.1, I have run into it while using Python and a venv. Do you have any idea when will it be released in a stable version of vscode? |
Hi every one. I cannot see how this issue was resolved. Was it resolved already? When i click on Run Python file i get the following error. However it works fine with python ML.py Thank you all for the help |
Describe the bug
when run commands in Lifecycle or Plugins, it always starts with "&" in terminal. with CMD or BASH, get syntax error, unexpected token &.
Environments (please complete the following information as much as possible):
Screenshots
xxx@xxxx MINGW64 /c/CodeProjects/Java/ReleaseNoteEditor/springmvc/releasenote issue (issue)
$ & mvn compiler:testCompile -f "c:\CodeProjects\Java\ReleaseNoteEditor\springmvc\releasenote issue\pom.xml"
bash: syntax error near unexpected token `&'
The text was updated successfully, but these errors were encountered: