-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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 line to launch task is badly formed for integrated terminal #21635
Comments
@isidorn I assign back to you. It is a launch config without a pre task. Not sure so if this is debug or the integrated terminal. |
This is not realated to "debug" in particular, this just happened to be a debug task. It is related to launching tasks configured using "launch.json" with the "integratedTerminal" option. This is the command generated by VS Code when I start my task called "Launch Unit Tests". It's not any code of mine or a user program. I assume it is produced entirely from the If I try to start this task using
If I start it using
So using the |
Assigning to @weinand since TerminalSupport is handling this I believe |
I haven't tried this in a few days, but In today's preview, using "intergratedTerminal" or "externalTerminal", it's broken in a different way: Seems like it's not quoting the CLI exe path itself properly now...
Opening a terminal window works fine still, but launching a task with it doesn't at all any more. "internalConsole" is the only one working. Using old trick |
Verification notes: The fix addresses issues that occurred when configuring:
The fixed issues:
|
Verified the first item |
Steps to Reproduce:
My configuration creates the following command line, which isn't valid (pehaps there should be an && there instead of the semicolon?)
cd d:\Users\JAMIE\code\project; env NODE_ENV=mocha node --debug-brk=45564 --nolazy node_modules\mocha \bin\_mocha --watch --debug test/unit/**/*.ts
This is the config
The text was updated successfully, but these errors were encountered: