Skip to content

Handle powershell commands that are wrapped in parens - #68056

Merged
dwoz merged 2 commits into
saltstack:3006.xfrom
twangboy:fix_67190
Jun 23, 2025
Merged

dwoz merged 2 commits into
saltstack:3006.xfrom
twangboy:fix_67190

Conversation

@twangboy

@twangboy twangboy commented Jun 6, 2025 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes the "_prep_powershell_cmd" function to handle powershell commands that are wrapped in paranthesis.

What issues does this PR fix or reference?

Fixes #67190

Previous Behavior

Powershell failed to run the command

New Behavior

Powershell runs the command and returns the result

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@twangboy
twangboy requested a review from a team as a code owner June 6, 2025 17:11
@twangboy twangboy self-assigned this Jun 6, 2025
@twangboy twangboy added the test:full Run the full test suite label Jun 6, 2025
@twangboy twangboy added this to the Sulfur v3006.12 milestone Jun 6, 2025
@dwoz dwoz modified the milestones: Sulfur v3006.12, Sulfer v3006.13 Jun 13, 2025

This branch was previously deployed

1 inactive deployment
ci — 9d33ae26 Deployed Jun 21, 2025 by dwoz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants