Skip to content

[release/v7.5] Set standard handles explicitly when starting a process with -NoNewWindow #25324

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

Conversation

pwshBot
Copy link
Collaborator

@pwshBot pwshBot commented Apr 11, 2025

Backport of #25061 to release/v7.5

Triggered by @TravisEz13 on behalf of @daxian-dbw

Original CL Label: CL-General

/cc @PowerShell/powershell-maintainers

Impact

Choose either tooling or Customer impact.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Customer Impact

  • Customer reported
  • Found internally

When using Start-Process with -NoNewWindow, the output of the process will be messed up. See the "expected behaviors" and "actual behaviors" in the original issue.

Regression

  • Yes
  • No

Introduced in 7.5

Testing

Added a test

Risk

  • High
  • Medium
  • Low

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

@TravisEz13 TravisEz13 added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Apr 11, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Review - Needed The PR is being reviewed label Apr 22, 2025
@daxian-dbw
Copy link
Member

Describe how this issue impacts customers, citing the expected and actual behaviors and scope of the issue. If customer-reported, provide the issue number.

Original issue: #24986
When using Start-Process with -NoNewWindow, the output of the process will be messed up. See the "expected behaviors" and "actual behaviors" in the original issue.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Review - Needed The PR is being reviewed label May 2, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Review - Needed The PR is being reviewed label May 10, 2025
@TravisEz13
Copy link
Member

@daxian-dbw this is consistently failing the build.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Review - Needed The PR is being reviewed label Jun 4, 2025
@TravisEz13 TravisEz13 enabled auto-merge (squash) June 4, 2025 22:51
@TravisEz13
Copy link
Member

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@TravisEz13 TravisEz13 merged commit cd6b4d8 into PowerShell:release/v7.5 Jun 4, 2025
35 checks passed
Copy link
Contributor

microsoft-github-policy-service bot commented Jun 4, 2025

📣 Hey @@pwshBot, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackPort-7.5.x-Approved CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants