| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:d2a4859e-7223-51e7-9b66-aebb5aadc89b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC9C:1F8B56:5A692D:801D36:6AFDBE48 |
| html-safe-nonce | 5eddf83d8d610207668c8227d23989e7384687e7d69ff6abc8a7acf5a7f86787 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzlDOjFGOEI1Njo1QTY5MkQ6ODAxRDM2OjZBRkRCRTQ4IiwidmlzaXRvcl9pZCI6IjExMTkzNDc5MjMxNDI2ODgzMjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7d981c0273f30ac05e2fc671471637064c834dc55c482951a889c88cc2845b62 |
| hovercard-subject-tag | pull_request:726997299 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/16046/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/dfa52bd7351f092e167902ddf2d39938cd989dadc722656dc4fe9509906a6bfc/PowerShell/PowerShell/pull/16046 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dfa52bd7351f092e167902ddf2d39938cd989dadc722656dc4fe9509906a6bfc/PowerShell/PowerShell/pull/16046 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daxian-dbw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35c6bf57da1370dc64866160540c0ee9f825f291935b3bf6ec5492b00e35f3a6 |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab48c73a2978548773f5f24717ed9e58508befdb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/16046#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F16046 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F16046 |
| 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 |
| Reload | https://github.com/PowerShell/PowerShell/pull/16046 |
| Reload | https://github.com/PowerShell/PowerShell/pull/16046 |
| Reload | https://github.com/PowerShell/PowerShell/pull/16046 |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests366 (366) | 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 quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| https://github.com/PowerShell/PowerShell |
| Rob Holt (rjmholt) | https://github.com/rjmholt |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| daxian-dbw:redirect | https://github.com/daxian-dbw/PowerShell/tree/redirect |
| Conversation | https://github.com/PowerShell/PowerShell/pull/16046 |
| Commits1 (1) | https://github.com/PowerShell/PowerShell/pull/16046/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/16046/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/16046/files |
| Set $? correctly for command expression with redirections | https://github.com/PowerShell/PowerShell/pull/16046#top |
| Rob Holt (rjmholt) | https://github.com/rjmholt |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| daxian-dbw:redirect | https://github.com/daxian-dbw/PowerShell/tree/redirect |
|
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Sep 3, 2021 | https://github.com/PowerShell/PowerShell/pull/16046#issue-987993822 |
| #16033 | https://github.com/PowerShell/PowerShell/issues/16033 |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://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 header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Work in Progress | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress |
| Breaking changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Experimental feature(s) needed | https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md |
| Documentation needed | https://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 changed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/16046 |
|
| https://github.com/daxian-dbw |
| Set $? correctly for command expression with redirections | https://github.com/PowerShell/PowerShell/pull/16046/commits/756d59efceac7fcb97c6fc34d67f01ac03a59955 |
| 756d59e | https://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:00 | https://github.com/PowerShell/PowerShell/pull/16046#event-5254856600 |
| Rob Holt (rjmholt) | https://github.com/rjmholt |
| Sep 3, 2021 | https://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 |
| 66b5d50 | https://github.com/PowerShell/PowerShell/commit/66b5d5017059bb1ae49b72b6e1dcb2411ee0f670 |
| Sep 3, 2021 | https://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:48 | https://github.com/PowerShell/PowerShell/pull/16046#event-5255728111 |
| https://github.com/vexx32 |
| Rain Sallow (/u/ta11ow) (vexx32) | https://github.com/vexx32 |
| Sep 4, 2021 | https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-912871175 |
| Please reload this page | https://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, 2021 | https://github.com/PowerShell/PowerShell/pull/16046#event-5256663146 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 7.2.0-rc.1 | https://github.com/PowerShell/PowerShell/milestone/111 |
| Sep 4, 2021 | https://github.com/PowerShell/PowerShell/pull/16046#event-5256663208 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Sep 7, 2021 | https://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 page | https://github.com/PowerShell/PowerShell/pull/16046 |
| https://github.com/vexx32 |
| Rain Sallow (/u/ta11ow) (vexx32) | https://github.com/vexx32 |
| Sep 7, 2021 | https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-914511389 |
| Please reload this page | https://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, 2021 | https://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, 2021 | https://github.com/PowerShell/PowerShell/pull/16046#event-5307740282 |
| https://github.com/adityapatwardhan |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| Sep 16, 2021 | https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-921281594 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/16046 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Sep 16, 2021 | https://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 page | https://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 |
| #16046 | https://github.com/PowerShell/PowerShell/pull/16046 |
| ) | https://github.com/PowerShell/PowerShell/commit/13c5aee0f8b416deadb2b7090ee5b801f6d9a359 |
| 13c5aee | https://github.com/PowerShell/PowerShell/commit/13c5aee0f8b416deadb2b7090ee5b801f6d9a359 |
| https://github.com/ghost |
| Deleted user (ghost) | https://github.com/ghost |
| Dec 16, 2021 | https://github.com/PowerShell/PowerShell/pull/16046#issuecomment-996152774 |
| Release Notes | https://github.com/PowerShell/PowerShell/releases/tag/v7.3.0-preview.1 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/16046 |
| TrapGodBrim | https://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 |
| 84d50e4 | https://github.com/TrapGodBrim/PowerShell/commit/84d50e46210df425923d7cdf55d3704d5dcb1c29 |
| …#16046 | https://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 |
| a023256 | https://github.com/Thatgfsj-contribs/PowerShell/commit/a0232563cafcb66032decfab9f2d0ce18048052e |
| …#16046 | https://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 |
| fd88c37 | https://github.com/Thatgfsj-contribs/PowerShell/commit/fd88c3748f9979d4e2f5c60b3061405e6eb85e29 |
| …#16046 | https://github.com/PowerShell/PowerShell/pull/16046 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |