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

Fix for Powershell Core v7.3 breaking changes #208

Merged
merged 2 commits into from Nov 18, 2022

Conversation

gerardog
Copy link
Owner

@gerardog gerardog commented Nov 17, 2022

  • Invoke-gsudo.ps1: Use Argument List as an string array to avoid problems with " double quotes.
  • gsudo 'powershell command string' no more need to replace " to \" internally

Fixes #207

For an explanation of what changed on Pwsh, see

@gerardog gerardog merged commit 74c4a46 into master Nov 18, 2022
@gerardog gerardog temporarily deployed to release-github November 18, 2022 18:18 Inactive
@gerardog gerardog temporarily deployed to release-chocolatey November 18, 2022 18:22 Inactive
@gerardog gerardog temporarily deployed to github-pages November 18, 2022 18:30 Inactive
@gerardog gerardog deleted the Fix.InvokeGsudoOnPwshv7.3 branch March 4, 2023 00:23
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.

Issue: Function Invoke-Gsudo breaks on pwsh v7.3: Filename Syntax Incorrect
1 participant