-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Task command line arguments are sometimes being wrapped with single quotes which breaks functionality #12027
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
Comments
I have the same kind of issue due to the added quotes. It appears suddenly on all computers in my school, breaking all compilation procedures. We now have to manuall specify all files in a folder, which is incompatible and very painful. Here is the tasks.json that is not working anymore:
|
I have the same problem |
The case in the original post may be expected if using "args" to specify "-j nproc". You should use "-j" and "nproc" as separate arguments because each of the args is treated as a single argument and quotes will be added when spaces are detected. The responses about getting incorrect escaping when using a |
There are NO spaces:
"<dash>j<backtick>nproc<backtick>"
and yet it is being wrapped wirh single quotes.
It works fine with older version.
wt., 27 lut 2024, 18:54 użytkownik Bob Brown ***@***.***>
napisał:
… The case in the original post may be expected if using "args" to specify
"-j nproc". You should use "-j" and "nproc" as separate arguments because
each of the args is treated as a single argument and quotes will be added
when spaces are detected.
The responses about getting incorrect escaping when using a * is a
duplicate of #12001
<#12001> which we are
in the process of fixing. #12026
<#12026> should address
it. We're sorry for the inconvenience. If you need an immediate resolution
we recommend rolling back to version 1.18.5 until we publish 1.19.5.
—
Reply to this email directly, view it on GitHub
<#12027 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKZQBRVOBU4RSIQTKGCBIJTYVYMUJAVCNFSM6AAAAABD3XMQECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRXGI4TONZRHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I see. Looks like Markdown messed up your message. I'll fix it. The existence of backtick in the argument puts that arg in the same category as |
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
Latest update to cpptools, probably a bugfix for issue #11422, breaks command line argument passing to make.
Steps to reproduce:
'-j`nproc`'
which causes make to fail.
Expected behavior:
Older versions used to pass arguments directly, which would cause the shell to run nproc and substitute the right value before launching make.
Configuration and Logs
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: