Title: IFeedbackProvider can't work against native commands on non-zero exit code · Issue #18852 · PowerShell/PowerShell · GitHub
Open Graph Title: IFeedbackProvider can't work against native commands on non-zero exit code · Issue #18852 · PowerShell/PowerShell
X Title: IFeedbackProvider can't work against native commands on non-zero exit code · Issue #18852 · PowerShell/PowerShell
Description: Summary of the new feature / enhancement The current design of IFeedbackProvider only works against an ErrorRecord. Unless $PSNativeCommandUseErrorActionPreference is $true, no ErrorRecord is created if a native command exists with a non...
Open Graph Description: Summary of the new feature / enhancement The current design of IFeedbackProvider only works against an ErrorRecord. Unless $PSNativeCommandUseErrorActionPreference is $true, no ErrorRecord is creat...
X Description: Summary of the new feature / enhancement The current design of IFeedbackProvider only works against an ErrorRecord. Unless $PSNativeCommandUseErrorActionPreference is $true, no ErrorRecord is creat...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/18852
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IFeedbackProvider can't work against native commands on non-zero exit code","articleBody":"### Summary of the new feature / enhancement\n\nThe current design of IFeedbackProvider only works against an ErrorRecord. Unless `$PSNativeCommandUseErrorActionPreference` is `$true`, no ErrorRecord is created if a native command exists with a non-zero exit code. For example, I can't build a feedback provider for the `git` command.\n\n### Proposed technical implementation details (optional)\n\nPerhaps FeedbackProviders should be registered with a Kind specifying when it should be enacted? I don't know if there will be other cases other than ErrorRecord and non-zero exit code.\r\n\r\ncc @daxian-dbw ","author":{"url":"https://github.com/SteveL-MSFT","@type":"Person","name":"SteveL-MSFT"},"datePublished":"2022-12-27T11:32:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/18852/PowerShell/issues/18852"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5dfad350-356f-4fe7-aed6-15c524d2b5cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0AE:4F67C:30C84D:4410EA:6A58671A |
| html-safe-nonce | 590ed8d379a9c73c1baed1f43ff370a89e8d822c8191bd87a0e75e563c04a1ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEFFOjRGNjdDOjMwQzg0RDo0NDEwRUE6NkE1ODY3MUEiLCJ2aXNpdG9yX2lkIjoiMTY3NTcyODc5NzA4ODM3NjYwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 76f2477e9bf6d2be35569192eae1c0386922c244735e163a72d81c869290e5eb |
| hovercard-subject-tag | issue:1511716479 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/18852/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d98da6b5aa9cc5d41bd29b42be3025053d5560b042a513acd6546f69865461cf/PowerShell/PowerShell/issues/18852 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d98da6b5aa9cc5d41bd29b42be3025053d5560b042a513acd6546f69865461cf/PowerShell/PowerShell/issues/18852 |
| og:image:alt | Summary of the new feature / enhancement The current design of IFeedbackProvider only works against an ErrorRecord. Unless $PSNativeCommandUseErrorActionPreference is $true, no ErrorRecord is creat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SteveL-MSFT |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width