Skip to content
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

Tutorials: Storage: Quote arguments for PowerShell #411

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Jan 3, 2025

When using pwsh (PowerShell 7.x), variable expansion doesn't seem to happen in the middle of arguments unless they're within double quotes. Except that they do get expanded when checking with echo.

See: rancher-sandbox/rancher-desktop#6900

(I think the user has different problems, but the issue here was a red herring.)

When using pwsh (PowerShell 7.x), variable expansion doesn't seem to happen
in the middle of arguments unless they're within double quotes.  Except
that they do get expanded when checking with `echo`.

See: rancher-sandbox/rancher-desktop#6900

Signed-off-by: Mark Yen <[email protected]>
Copy link
Contributor

@gunamata gunamata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thank you.

@mook-as mook-as merged commit 3f1512b into rancher-sandbox:main Jan 6, 2025
2 checks passed
@mook-as mook-as deleted the mount/pwsh-expansion branch January 6, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants