René's URL Explorer Experiment


Title: Fix native executables not redirecting to file (fixed) by SeeminglyScience · Pull Request #19842 · PowerShell/PowerShell · GitHub

Open Graph Title: Fix native executables not redirecting to file (fixed) by SeeminglyScience · Pull Request #19842 · PowerShell/PowerShell

X Title: Fix native executables not redirecting to file (fixed) by SeeminglyScience · Pull Request #19842 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary Fixes #19836 (Take two of #19841) PR Context Because Out-File is no longer appended in the pipeline, the calculation for if stdout should be redirected was incorrect. Adding a check for...

X Description: PR Summary Fixes #19836 (Take two of #19841) PR Context Because Out-File is no longer appended in the pipeline, the calculation for if stdout should be redirected was incorrect. Adding a check for...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/19842

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8ba4e848-e892-83f5-35cd-15cd6afb4cb9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83E6:262D17:163FD47:1DA6307:6A5439F7
html-safe-nonce1e780740ce16ece687e442bdd4e432afa5e20e0ef005932e1f0cc36df40e30a1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0U2OjI2MkQxNzoxNjNGRDQ3OjFEQTYzMDc6NkE1NDM5RjciLCJ2aXNpdG9yX2lkIjoiNTk0NzU0MzMwMzA3OTg2ODkxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8aa1bae9e4f28c90a2dd1637f044535614dfc61529b076ddca8aad88b40ad091
hovercard-subject-tagpull_request:1404075634
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/19842/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5b7bf716da295c330aa77d871fc663b597e3ba46a6da2dce6b340b5f1fd33afb/PowerShell/PowerShell/pull/19842
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5b7bf716da295c330aa77d871fc663b597e3ba46a6da2dce6b340b5f1fd33afb/PowerShell/PowerShell/pull/19842
og:image:altPR Summary Fixes #19836 (Take two of #19841) PR Context Because Out-File is no longer appended in the pipeline, the calculation for if stdout should be redirected was incorrect. Adding a check for...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSeeminglyScience
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/19842#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F19842
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F19842
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/19842
Reloadhttps://github.com/PowerShell/PowerShell/pull/19842
Reloadhttps://github.com/PowerShell/PowerShell/pull/19842
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/19842
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 54.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.3k https://github.com/PowerShell/PowerShell/issues
Pull requests 288 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
daxian-dbwhttps://github.com/daxian-dbw
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SeeminglyScience:fix-native-stdout-bug-2https://github.com/SeeminglyScience/PowerShell/tree/fix-native-stdout-bug-2
Conversationhttps://github.com/PowerShell/PowerShell/pull/19842
Commits5 (5)https://github.com/PowerShell/PowerShell/pull/19842/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/19842/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/19842/files
Fix native executables not redirecting to file (fixed)https://github.com/PowerShell/PowerShell/pull/19842#top
daxian-dbwhttps://github.com/daxian-dbw
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SeeminglyScience:fix-native-stdout-bug-2https://github.com/SeeminglyScience/PowerShell/tree/fix-native-stdout-bug-2
https://github.com/SeeminglyScience
SeeminglySciencehttps://github.com/SeeminglyScience
Jun 22, 2023https://github.com/PowerShell/PowerShell/pull/19842#issue-1770301504
#19836https://github.com/PowerShell/PowerShell/issues/19836
#19841https://github.com/PowerShell/PowerShell/pull/19841
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.3/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure you've added a new test if existing tests do not effectively test the code changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/19842
SeeminglySciencehttps://github.com/SeeminglyScience
June 22, 2023 15:44https://github.com/PowerShell/PowerShell/pull/19842#commits-pushed-0c91e15
https://github.com/SeeminglyScience
Fix native executables not redirecting to filehttps://github.com/PowerShell/PowerShell/pull/19842/commits/0c91e15c33be72b42fd0bd4e086fd41abda50184
0c91e15https://github.com/PowerShell/PowerShell/pull/19842/commits/0c91e15c33be72b42fd0bd4e086fd41abda50184
https://github.com/daxian-dbw
https://github.com/SeeminglyScience
Update NativeCommandProcessor.cshttps://github.com/PowerShell/PowerShell/pull/19842/commits/3714e9735f58dbfbca69bbfb4a05b7a09c860bcd
3714e97https://github.com/PowerShell/PowerShell/pull/19842/commits/3714e9735f58dbfbca69bbfb4a05b7a09c860bcd
https://github.com/SeeminglyScience
https://github.com/daxian-dbw
Update src/System.Management.Automation/engine/NativeCommandProcessor.cshttps://github.com/PowerShell/PowerShell/pull/19842/commits/c6a863e7f6df527aa2555b99f999b6cd3e0db5d9
c6a863ehttps://github.com/PowerShell/PowerShell/pull/19842/commits/c6a863e7f6df527aa2555b99f999b6cd3e0db5d9
https://github.com/SeeminglyScience
Add tests for redirectionhttps://github.com/PowerShell/PowerShell/pull/19842/commits/3ed14756244831704cad1c2262b00f2beba077b5
3ed1475https://github.com/PowerShell/PowerShell/pull/19842/commits/3ed14756244831704cad1c2262b00f2beba077b5
https://github.com/apps/pull-request-quantifier-deprecated
pull-request-quantifier-deprecatedhttps://github.com/apps/pull-request-quantifier-deprecated
Extra Small https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Extra%20Small%22
Jun 22, 2023https://github.com/PowerShell/PowerShell/pull/19842#event-9610727733
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
Jun 22, 2023 https://github.com/PowerShell/PowerShell/pull/19842#pullrequestreview-1493945839
View reviewed changes https://github.com/PowerShell/PowerShell/pull/19842/files/3ed14756244831704cad1c2262b00f2beba077b5
daxian-dbwhttps://github.com/daxian-dbw
https://github.com/PowerShell/PowerShell/pull/19842#pullrequestreview-1493945839
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/19842
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
CL-Engine https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Engine
Jun 22, 2023https://github.com/PowerShell/PowerShell/pull/19842#event-9610929136
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
Jun 22, 2023 https://github.com/PowerShell/PowerShell/pull/19842#pullrequestreview-1494085977
View reviewed changes https://github.com/PowerShell/PowerShell/pull/19842/files/3ed14756244831704cad1c2262b00f2beba077b5
test/powershell/engine/Basic/NativeCommandBytePiping.Tests.ps1https://github.com/PowerShell/PowerShell/pull/19842/files/3ed14756244831704cad1c2262b00f2beba077b5#diff-e6dd75655daa01eaf90b30190bb73aad58c5cebcc72debc3c7a485d0705944d9
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/19842
https://github.com/SeeminglyScience
Added test with Out-Defaulthttps://github.com/PowerShell/PowerShell/pull/19842/commits/8faa66735f8a165a2ff519c0a0437e03003b2ff1
8faa667https://github.com/PowerShell/PowerShell/pull/19842/commits/8faa66735f8a165a2ff519c0a0437e03003b2ff1
https://github.com/apps/pull-request-quantifier-deprecated
pull-request-quantifier-deprecatedhttps://github.com/apps/pull-request-quantifier-deprecated
Jun 23, 2023https://github.com/PowerShell/PowerShell/pull/19842#issuecomment-1604467151
https://camo.githubusercontent.com/bb714ccf29b74f64c570dd4391b4f47ec227aa91a772fe0a5e301b4964222e58/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d5175616e746966696564266d6573736167653d4578747261253230536d616c6c26636f6c6f723d677265656e
PullRequestQuantifier customizationshttps://github.com/microsoft/PullRequestQuantifier/blob/main/docs/prquantifier-yaml.md
context generatorhttps://github.com/microsoft/PullRequestQuantifier/releases
see context specificationhttps://github.com/PowerShell/PowerShell/pull/docs/prquantifier-yaml.md
👍https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiU2VlbWluZ2x5U2NpZW5jZSIsIlJlcG9zaXRvcnlMaW5rIjoiaHR0cHM6Ly9naXRodWIuY29tL1Bvd2VyU2hlbGwvUG93ZXJTaGVsbCIsIlB1bGxSZXF1ZXN0TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwvcHVsbC8xOTg0MiIsIkV2ZW50VHlwZSI6IlRodW1ic1VwIn0=&anonymous=True
 :ok_hand:https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiU2VlbWluZ2x5U2NpZW5jZSIsIlJlcG9zaXRvcnlMaW5rIjoiaHR0cHM6Ly9naXRodWIuY29tL1Bvd2VyU2hlbGwvUG93ZXJTaGVsbCIsIlB1bGxSZXF1ZXN0TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwvcHVsbC8xOTg0MiIsIkV2ZW50VHlwZSI6Ik5ldXRyYWwifQ==&anonymous=True
 :thumbsdown:https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiU2VlbWluZ2x5U2NpZW5jZSIsIlJlcG9zaXRvcnlMaW5rIjoiaHR0cHM6Ly9naXRodWIuY29tL1Bvd2VyU2hlbGwvUG93ZXJTaGVsbCIsIlB1bGxSZXF1ZXN0TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwvcHVsbC8xOTg0MiIsIkV2ZW50VHlwZSI6IlRodW1ic0Rvd24ifQ==&anonymous=True
EmailMAILTO:prquantifier@microsoft.com
Customize PullRequestQuantifierhttps://github.com/PowerShell/PowerShell/blob/master/.github/prquantifier.yaml
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/19842
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
Jun 23, 2023 https://github.com/PowerShell/PowerShell/pull/19842#pullrequestreview-1495769836
View reviewed changes https://github.com/PowerShell/PowerShell/pull/19842/files/8faa66735f8a165a2ff519c0a0437e03003b2ff1
daxian-dbwhttps://github.com/daxian-dbw
https://github.com/PowerShell/PowerShell/pull/19842#pullrequestreview-1495769836
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/19842
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
066d7bfhttps://github.com/PowerShell/PowerShell/commit/066d7bff2cacba973ba81bbb57355da72c7735f2
Jun 23, 2023https://github.com/PowerShell/PowerShell/pull/19842#event-9621301515
https://github.com/ghost
ghosthttps://github.com/ghost
Jun 29, 2023https://github.com/PowerShell/PowerShell/pull/19842#issuecomment-1613865163
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.4.0-preview.4
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/19842
Jun 29, 2023 https://github.com/PowerShell/PowerShell/pull/19842#ref-issue-1768957452
Native pipeline fails to redirect stdout to files, always to console ( PSNativeCommandPreserveBytePipe enabled ) #19836 https://github.com/PowerShell/PowerShell/issues/19836
https://github.com/twinter-amosfivesix
twinter-amosfivesixhttps://github.com/twinter-amosfivesix
Nov 28, 2023 https://github.com/PowerShell/PowerShell/pull/19842#ref-issue-2005254244
7.4.0 Redirecting stdout and stderr to Two Separate Files Leaves Empty Files #20747 https://github.com/PowerShell/PowerShell/issues/20747
https://github.com/mo271
mo271https://github.com/mo271
Sep 16, 2024 https://github.com/PowerShell/PowerShell/pull/19842#ref-issue-2512371306
Unable to read stdin in PowerShell 5.1 libjxl/libjxl#3808 https://github.com/libjxl/libjxl/issues/3808
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F19842
https://github.com/daxian-dbw
daxian-dbw https://github.com/daxian-dbw
https://github.com/PowerShell/PowerShell/pull/19842/files/8faa66735f8a165a2ff519c0a0437e03003b2ff1
CL-Engine https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Engine
Extra Small https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Extra%20Small%22
Native pipeline fails to redirect stdout to files, always to console ( PSNativeCommandPreserveBytePipe enabled ) https://github.com/PowerShell/PowerShell/issues/19836
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/19842
https://github.com/SeeminglyScience
https://github.com/daxian-dbw
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.