Run Maven Command doesn't work correctly when the directory has space on Windows
Describe the bug "Run Maven Command" giving error when one tries to perform the actions for a project opened from the directory, which includes space in the directory path [e.g: user/username/application support/mavenproject]. The terminal uses bash.
Also facing below issue if configure WSL terminal.
.
Steps to reproduce the behavior:
-
Open project from the folder --> should contain space in the directory [e.g: user/username/application support/mavenproject]
-
Right Click on Project name from Maven dashboard
-
Click on Run Maven Command select any action
-
Terminal is not responding for the command
Environments (please complete the following information as much as possible):
- OS: Windows 11
- VS Code version: Version: 1.94.1
- Extension version : v0.44.0
The 'Run Maven Commands' feature simply generates the command line and executes it in your terminal. It should behave the same as you manually run it in the terminal. Can you try running the generated command manually in the terminal to see if it works?