Title: Should native command errors have the executable path or invocation as the TargetObject instead of the name? · Issue #15992 · PowerShell/PowerShell · GitHub
Open Graph Title: Should native command errors have the executable path or invocation as the TargetObject instead of the name? · Issue #15992 · PowerShell/PowerShell
X Title: Should native command errors have the executable path or invocation as the TargetObject instead of the name? · Issue #15992 · PowerShell/PowerShell
Description: Summary of the new feature / enhancement In #15897 we added in the executable name as the ErrorRecord TargetObject at the last minute. But when we write the error, we also have: The whole process object of the executable The start info o...
Open Graph Description: Summary of the new feature / enhancement In #15897 we added in the executable name as the ErrorRecord TargetObject at the last minute. But when we write the error, we also have: The whole process o...
X Description: Summary of the new feature / enhancement In #15897 we added in the executable name as the ErrorRecord TargetObject at the last minute. But when we write the error, we also have: The whole process o...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/15992
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Should native command errors have the executable path or invocation as the TargetObject instead of the name?","articleBody":"### Summary of the new feature / enhancement\n\nIn https://github.com/PowerShell/PowerShell/pull/15897 we added in the executable name as the ErrorRecord TargetObject at the last minute.\r\n\r\nBut when we write the error, we also have:\r\n\r\n- The whole process object of the executable\r\n- The start info object\r\n- And on that, the executable path and arguments\r\n\r\nWould it be better/more helpful to make any of those the TargetObject?\n\n### Proposed technical implementation details (optional)\n\n_No response_","author":{"url":"https://github.com/rjmholt","@type":"Person","name":"rjmholt"},"datePublished":"2021-08-24T23:02:26Z","url":"https://github.com/PowerShell/PowerShell/issues/15992"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e8951f48-c44f-e7ba-b5a1-4ff752a17c54 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF36:45051:7B3032:AD04A2:6AFDD335 |
| html-safe-nonce | 64386dc040cb0b555b441f6b656b2badc1299cf34b6dddfc08aafa2e8ea07d92 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjM2OjQ1MDUxOjdCMzAzMjpBRDA0QTI6NkFGREQzMzUiLCJ2aXNpdG9yX2lkIjoiMjY2MzQwMzQ4MzY5MTg2NDg4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3569c87472f5e48a899fe634dfc77e5a1e9774de7320ea0d3de733fdb487fe58 |
| hovercard-subject-tag | issue:978548944 |
| 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/15992/issue_layout |
| twitter:image | https://opengraph.githubassets.com/815e7fea33965840e571f8bfdde9a63ed328dfe1e30cf06882198123ad68cb31/PowerShell/PowerShell/issues/15992 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/815e7fea33965840e571f8bfdde9a63ed328dfe1e30cf06882198123ad68cb31/PowerShell/PowerShell/issues/15992 |
| og:image:alt | Summary of the new feature / enhancement In #15897 we added in the executable name as the ErrorRecord TargetObject at the last minute. But when we write the error, we also have: The whole process o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rjmholt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 26886a40b582b821a7a76351e0a2f42b6d6160854b6e2520db24f31fd7be5da7 |
| 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 | 68ebaa631a1d248d69ebde4b9c5defd3a19aeb2f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width