René's URL Explorer Experiment


Title: Set $? correctly for command expression with redirections by daxian-dbw · Pull Request #16046 · PowerShell/PowerShell · GitHub

Open Graph Title: Set $? correctly for command expression with redirections by daxian-dbw · Pull Request #16046 · PowerShell/PowerShell

X Title: Set $? correctly for command expression with redirections by daxian-dbw · Pull Request #16046 · PowerShell/PowerShell

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

Open Graph Description: PR Summary Fix #16033 This PR makes a small update to ShouldSetExecutionStatusToSuccess(PipelineAst) to not exclude single expression with redirections, so that $? can be set to true properly for s...

X Description: PR Summary Fix #16033 This PR makes a small update to ShouldSetExecutionStatusToSuccess(PipelineAst) to not exclude single expression with redirections, so that $? can be set to true properly for s...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:d2a4859e-7223-51e7-9b66-aebb5aadc89b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC9C:1F8B56:5A692D:801D36:6AFDBE48
html-safe-nonce5eddf83d8d610207668c8227d23989e7384687e7d69ff6abc8a7acf5a7f86787
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzlDOjFGOEI1Njo1QTY5MkQ6ODAxRDM2OjZBRkRCRTQ4IiwidmlzaXRvcl9pZCI6IjExMTkzNDc5MjMxNDI2ODgzMjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7d981c0273f30ac05e2fc671471637064c834dc55c482951a889c88cc2845b62
hovercard-subject-tagpull_request:726997299
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/16046/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dfa52bd7351f092e167902ddf2d39938cd989dadc722656dc4fe9509906a6bfc/PowerShell/PowerShell/pull/16046
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dfa52bd7351f092e167902ddf2d39938cd989dadc722656dc4fe9509906a6bfc/PowerShell/PowerShell/pull/16046
og:image:altPR Summary Fix #16033 This PR makes a small update to ShouldSetExecutionStatusToSuccess(PipelineAst) to not exclude single expression with redirections, so that $? can be set to true properly for s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedaxian-dbw
hostnamegithub.com
expected-hostnamegithub.com
None35c6bf57da1370dc64866160540c0ee9f825f291935b3bf6ec5492b00e35f3a6
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
releaseab48c73a2978548773f5f24717ed9e58508befdb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/16046#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F16046
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F16046
Sign uphttps://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/16046
Reloadhttps://github.com/PowerShell/PowerShell/pull/16046
Reloadhttps://github.com/PowerShell/PowerShell/pull/16046
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
Rob Holt (rjmholt)https://github.com/rjmholt
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
daxian-dbw:redirecthttps://github.com/daxian-dbw/PowerShell/tree/redirect
Conversationhttps://github.com/PowerShell/PowerShell/pull/16046
Commits1 (1)https://github.com/PowerShell/PowerShell/pull/16046/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/16046/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/16046/files
Set $? correctly for command expression with redirectionshttps://github.com/PowerShell/PowerShell/pull/16046#top
Rob Holt (rjmholt)https://github.com/rjmholt
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
daxian-dbw:redirecthttps://github.com/daxian-dbw/PowerShell/tree/redirect
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Sep 3, 2021https://github.com/PowerShell/PowerShell/pull/16046#issue-987993822
#16033https://github.com/PowerShell/PowerShell/issues/16033
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/staging/reference/6/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
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/16046
https://github.com/daxian-dbw
Set $? correctly for command expression with redirectionshttps://github.com/PowerShell/PowerShell/pull/16046/commits/756d59efceac7fcb97c6fc34d67f01ac03a59955
756d59ehttps://github.com/PowerShell/PowerShell/pull/16046/commits/756d59efceac7fcb97c6fc34d67f01ac03a59955
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Rob Holt (rjmholt)https://github.com/rjmholt
September 3, 2021 18:00https://github.com/PowerShell/PowerShell/pull/16046#event-5254856600
Rob Holt (rjmholt)https://github.com/rjmholt
Sep 3, 2021https://github.com/PowerShell/PowerShell/pull/16046#event-5254856704
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Sep 3, 2021 https://github.com/PowerShell/PowerShell/pull/16046#ref-issue-985576215
$? of redirection >, >>, 2>, and 2>> is unexpected. #16033 https://github.com/PowerShell/PowerShell/issues/16033
https://github.com/rjmholt
Rob Holt (rjmholt)https://github.com/rjmholt
Sep 3, 2021 https://github.com/PowerShell/PowerShell/pull/16046#pullrequestreview-746499719
View reviewed changes https://github.com/PowerShell/PowerShell/pull/16046/files/756d59efceac7fcb97c6fc34d67f01ac03a59955
https://github.com/rjmholt
Rob Holt (rjmholt)https://github.com/rjmholt
66b5d50https://github.com/PowerShell/PowerShell/commit/66b5d5017059bb1ae49b72b6e1dcb2411ee0f670
Sep 3, 2021https://github.com/PowerShell/PowerShell/pull/16046#event-5255706714
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
September 3, 2021 22:48https://github.com/PowerShell/PowerShell/pull/16046#event-5255728111
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
Sep 4, 2021https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-912871175
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/16046
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Sep 4, 2021https://github.com/PowerShell/PowerShell/pull/16046#event-5256663146
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
7.2.0-rc.1https://github.com/PowerShell/PowerShell/milestone/111
Sep 4, 2021https://github.com/PowerShell/PowerShell/pull/16046#event-5256663208
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Sep 7, 2021https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-914475535
Ilya (@iSazonov)https://github.com/iSazonov
Rain Sallow (/u/ta11ow) (@vexx32)https://github.com/vexx32
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/16046
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
Sep 7, 2021https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-914511389
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/16046
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
BackPort-7.0.x-Consider https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackPort-7.0.x-Consider
Sep 7, 2021https://github.com/PowerShell/PowerShell/pull/16046#event-5268129203
https://github.com/adityapatwardhan
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
Backport-7.2.x-Done https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Done
BackPort-7.0.x-Consider https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackPort-7.0.x-Consider
Sep 15, 2021https://github.com/PowerShell/PowerShell/pull/16046#event-5307740282
https://github.com/adityapatwardhan
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
Sep 16, 2021https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-921281594
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/16046
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Sep 16, 2021https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-921282848
Rain Sallow (/u/ta11ow) (@vexx32)https://github.com/vexx32
https://user-images.githubusercontent.com/127450/133691065-c24f668d-ae57-49e5-a541-0334b1790a01.png
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/16046
Travis Plunk (TravisEz13)https://github.com/TravisEz13
Sep 29, 2021 https://github.com/PowerShell/PowerShell/pull/16046#ref-commit-13c5aee
https://github.com/daxian-dbw
https://github.com/adityapatwardhan
Set $? correctly for command expression with redirections (https://github.com/PowerShell/PowerShell/commit/13c5aee0f8b416deadb2b7090ee5b801f6d9a359
#16046https://github.com/PowerShell/PowerShell/pull/16046
)https://github.com/PowerShell/PowerShell/commit/13c5aee0f8b416deadb2b7090ee5b801f6d9a359
13c5aeehttps://github.com/PowerShell/PowerShell/commit/13c5aee0f8b416deadb2b7090ee5b801f6d9a359
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Dec 16, 2021https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-996152774
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.3.0-preview.1
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/16046
TrapGodBrimhttps://github.com/TrapGodBrim
Jan 19, 2022 https://github.com/PowerShell/PowerShell/pull/16046#ref-commit-84d50e4
https://github.com/daxian-dbw
https://github.com/TrapGodBrim
Set $? correctly for command expression with redirections (https://github.com/TrapGodBrim/PowerShell/commit/84d50e46210df425923d7cdf55d3704d5dcb1c29
PowerShell…https://github.com/PowerShell/PowerShell/pull/16046
84d50e4https://github.com/TrapGodBrim/PowerShell/commit/84d50e46210df425923d7cdf55d3704d5dcb1c29
…#16046https://github.com/PowerShell/PowerShell/pull/16046
Thatgfsj (Thatgfsj)https://github.com/Thatgfsj
Aug 6, 2026 https://github.com/PowerShell/PowerShell/pull/16046#ref-commit-a023256
https://github.com/daxian-dbw
Set $? correctly for command expression with redirections (https://github.com/Thatgfsj-contribs/PowerShell/commit/a0232563cafcb66032decfab9f2d0ce18048052e
PowerShell…https://github.com/PowerShell/PowerShell/pull/16046
a023256https://github.com/Thatgfsj-contribs/PowerShell/commit/a0232563cafcb66032decfab9f2d0ce18048052e
…#16046https://github.com/PowerShell/PowerShell/pull/16046
Thatgfsj (Thatgfsj)https://github.com/Thatgfsj
Aug 6, 2026 https://github.com/PowerShell/PowerShell/pull/16046#ref-commit-fd88c37
https://github.com/daxian-dbw
https://github.com/adityapatwardhan
Set $? correctly for command expression with redirections (https://github.com/Thatgfsj-contribs/PowerShell/commit/fd88c3748f9979d4e2f5c60b3061405e6eb85e29
PowerShell…https://github.com/PowerShell/PowerShell/pull/16046
fd88c37https://github.com/Thatgfsj-contribs/PowerShell/commit/fd88c3748f9979d4e2f5c60b3061405e6eb85e29
…#16046https://github.com/PowerShell/PowerShell/pull/16046
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%2F16046
https://github.com/rjmholt
Rob Holt (rjmholt) https://github.com/rjmholt
https://github.com/PowerShell/PowerShell/pull/16046/files/756d59efceac7fcb97c6fc34d67f01ac03a59955
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/16046
https://github.com/rjmholt
Rob Holt (rjmholt) https://github.com/rjmholt
Backport-7.2.x-Done https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Done
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
7.2.0-preview.10 https://github.com/PowerShell/PowerShell/milestone/111
$? of redirection >, >>, 2>, and 2>> is unexpected. https://github.com/PowerShell/PowerShell/issues/16033
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/16046
https://github.com/daxian-dbw
https://github.com/vexx32
https://github.com/adityapatwardhan
https://github.com/rjmholt
https://github.com/iSazonov
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.