Title: Type inference should handle executables · Issue #18864 · PowerShell/PowerShell · GitHub
Open Graph Title: Type inference should handle executables · Issue #18864 · PowerShell/PowerShell
X Title: Type inference should handle executables · Issue #18864 · PowerShell/PowerShell
Description: Summary of the new feature / enhancement Output from executables like ipconfig.exe are saved as strings in PowerShell. The type inference should be aware of this so we can get tab completion like: ipconfig.exe | foreach {$_.
Open Graph Description: Summary of the new feature / enhancement Output from executables like ipconfig.exe are saved as strings in PowerShell. The type inference should be aware of this so we can get tab completion like: ...
X Description: Summary of the new feature / enhancement Output from executables like ipconfig.exe are saved as strings in PowerShell. The type inference should be aware of this so we can get tab completion like: ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/18864
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Type inference should handle executables","articleBody":"### Summary of the new feature / enhancement\n\nOutput from executables like `ipconfig.exe` are saved as strings in PowerShell. The type inference should be aware of this so we can get tab completion like: `ipconfig.exe | foreach {$_.\u003cTab\u003e` \r\nOne problem here is that there's no way for PowerShell to know whether or not an executable actually outputs anything, but I think it's safe to assume that every executable outputs something and when that assumption is wrong the end user probably won't notice anyway since they have no reason to attempt to tab complete the output.\n\n### Proposed technical implementation details (optional)\n\n_No response_","author":{"url":"https://github.com/MartinGC94","@type":"Person","name":"MartinGC94"},"datePublished":"2022-12-28T23:35:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/18864/PowerShell/issues/18864"}
| 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:16937924-9732-dd97-7647-214545dcf448 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C658:3F3173:C1B87E:1085D06:6A56FDB4 |
| html-safe-nonce | a8bb9da1203dc30c9e9891eca6f920099e6b58b01e96f4c91294853e89d3fd35 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjU4OjNGMzE3MzpDMUI4N0U6MTA4NUQwNjo2QTU2RkRCNCIsInZpc2l0b3JfaWQiOiIyNDIwNTQ3MDM2MTI0NzQxMDQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dd5b60a64cadc56f9f4f047382e719c6710763684aaea8df4f5eadcd1843dafc |
| hovercard-subject-tag | issue:1513239219 |
| 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/18864/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1915cd490916710ab8013f78c2e6c2f04513e0263195006c92949deec11992c2/PowerShell/PowerShell/issues/18864 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1915cd490916710ab8013f78c2e6c2f04513e0263195006c92949deec11992c2/PowerShell/PowerShell/issues/18864 |
| og:image:alt | Summary of the new feature / enhancement Output from executables like ipconfig.exe are saved as strings in PowerShell. The type inference should be aware of this so we can get tab completion like: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MartinGC94 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb29e5f807bd95e41196adfbc6d28f9af12d89830d8b684f3e871774ddff2fc |
| 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 | b056788a129fb0194b61f2ebb4c43f6a9f4dfd27 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width