Skip to content

MSDNS: Improve PowerShell reliability#2551

Merged
tlimoncelli merged 1 commit into
masterfrom
tlim_pseol
Sep 7, 2023
Merged

MSDNS: Improve PowerShell reliability#2551
tlimoncelli merged 1 commit into
masterfrom
tlim_pseol

Conversation

@tlimoncelli
Copy link
Copy Markdown
Contributor

@tlimoncelli tlimoncelli commented Sep 6, 2023

Theory: The go-powershell module we use has problems if the command doesn't start and end with whitespace.

As a quick fix, we add that whitespace.

The long-term fix would require us to fork go-powershell and add the whitespace to the Execute() function.

@tlimoncelli tlimoncelli requested a review from musdav September 6, 2023 20:28
@tlimoncelli tlimoncelli changed the title MSDNS: Prevent PowerShell parse problems MSDNS: Improve PowerShell reliability Sep 7, 2023
@tlimoncelli tlimoncelli merged commit a1c7a26 into master Sep 7, 2023
@tlimoncelli tlimoncelli deleted the tlim_pseol branch September 7, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants