-
Notifications
You must be signed in to change notification settings - Fork 4
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
Response file not working from powershell terminal #19
Comments
I do not use MSWindows/powershell at all; and could not find a simple table of what characters are special in powershell. It would So if the @ is single-quoted or preceded by a backslash does it work? |
The problem with @ is splatting. And a lot of other special characters are used in powershell. |
I see it is treated as a special character, but I have been looking for a list of characters NOT used by powershell or DOS so I could allow an alternative like ~!#% and cannot find a list of characters not used although I find different descriptions of $`~@ all having special meanings. I was just saying since @ was picked because it is commonly used for response files of different types that I could change it but I do not want to change it to another character that has different problems. From the descript it sounds like double-quoting the @word or using two at characters might work; and some possibility add --% might turn off special character proessing.It is odd to me I cannot find a list of unused characters; which shows right up for other shells like bash,tcsh,zsh, ....
… On 06/16/2024 4:17 PM EDT davidpfister ***@***.***> wrote:
The problem with @ is splatting https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_splatting?view=powershell-7.4. And a lot of other special characters are used in powershell https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_special_characters?view=powershell-7.4.
—
Reply to this email directly, view it on GitHub #19 (comment), or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDWN3MNAZMFJKENECTF44DZHXXFJAVCNFSM6AAAAABF7HTEWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZRHA3DINRUGA.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Powershell uses so many special characters that Microsoft probably did not bother editing an exclusion list 😄.
|
I was experimenting response file for fpm and running command like
fpm @build
from a powershell terminal on Windows.The issue is that
@
has a special meaning in powershell and the command cannot be interpreted. It only returns the help for fpmWorkaround
sections in the rsp containing hyphens are perfectly fine, so I can run
fpm @gfortran-build
.Or, I can also use the classical cmd prompt.
There is probably not much to do here, but I thought I report the issue for the record in case someone faces the same problem.
The text was updated successfully, but these errors were encountered: