Title: PowerShell cannot have a pipeline with more then 2 native processes with redirected stdin · Issue #3321 · PowerShell/PowerShell · GitHub
Open Graph Title: PowerShell cannot have a pipeline with more then 2 native processes with redirected stdin · Issue #3321 · PowerShell/PowerShell
X Title: PowerShell cannot have a pipeline with more then 2 native processes with redirected stdin · Issue #3321 · PowerShell/PowerShell
Description: Steps to reproduce ps aux | grep powershell | grep -v grep Expected behavior Return filtered results. I.e. same as PS > $a = ps aux | grep powershell; $a | grep -v grep vors 2995 7.4 0.3 4813880 44460 s000 S+ 11:07AM 0:10.07 -powershell ...
Open Graph Description: Steps to reproduce ps aux | grep powershell | grep -v grep Expected behavior Return filtered results. I.e. same as PS > $a = ps aux | grep powershell; $a | grep -v grep vors 2995 7.4 0.3 4813880 44...
X Description: Steps to reproduce ps aux | grep powershell | grep -v grep Expected behavior Return filtered results. I.e. same as PS > $a = ps aux | grep powershell; $a | grep -v grep vors 2995 7.4 0.3 4813880...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3321
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PowerShell cannot have a pipeline with more then 2 native processes with redirected stdin","articleBody":"Steps to reproduce\r\n------------------\r\n\r\n```\r\nps aux | grep powershell | grep -v grep\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\nReturn filtered results. I.e. same as\r\n\r\n```\r\nPS \u003e $a = ps aux | grep powershell; $a | grep -v grep\r\nvors 2995 7.4 0.3 4813880 44460 s000 S+ 11:07AM 0:10.07 -powershell\r\nvors 6628 0.0 0.1 4810520 19192 s001 S+ 11:35AM 0:02.51 -powershell\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\nPipeline hanging (first grep never receives \"output closed\" event, besides the fact that corresponding stream is disposed)\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```powershell\r\n\u003e $PSVersionTable\r\nName Value \r\n---- ----- \r\nPSVersion 6.0.0-alpha \r\nPSEdition Core \r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} \r\nBuildVersion 3.0.0.0 \r\nGitCommitId v6.0.0-alpha.17 \r\nCLRVersion \r\nWSManStackVersion 3.0 \r\nPSRemotingProtocolVersion 2.3 \r\nSerializationVersion 1.1.0.1 \r\n```\r\n","author":{"url":"https://github.com/vors","@type":"Person","name":"vors"},"datePublished":"2017-03-13T20:23:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/3321/PowerShell/issues/3321"}
| 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:ba249f31-b2f6-a253-d8ea-340b5d017ea6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4C2:2B362A:2C8A28:3C77A1:6A57C993 |
| html-safe-nonce | 47c03892baee496fe0c1afb334bf97fb74ca390d9e06cc50079c0ce0bb7d31ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEMyOjJCMzYyQToyQzhBMjg6M0M3N0ExOjZBNTdDOTkzIiwidmlzaXRvcl9pZCI6IjUxMTk1OTY2OTM1ODQwNzEwNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 56daf8e435d4085d6ca2e19e5ea558ac7248cd874acb97d4311c59b245f9d37f |
| hovercard-subject-tag | issue:213886247 |
| 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/3321/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42de8ce2a422250abb318aaaf3b65e0d9c95cfd60fa9dbb02cf74b4addffbc96/PowerShell/PowerShell/issues/3321 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42de8ce2a422250abb318aaaf3b65e0d9c95cfd60fa9dbb02cf74b4addffbc96/PowerShell/PowerShell/issues/3321 |
| og:image:alt | Steps to reproduce ps aux | grep powershell | grep -v grep Expected behavior Return filtered results. I.e. same as PS > $a = ps aux | grep powershell; $a | grep -v grep vors 2995 7.4 0.3 4813880 44... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vors |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5bf9f84655de1d0e9aa064cd3b2bc9703556c68ae53b94e21b872b7e9f1f7cc1 |
| 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 | f76ee5bea8be15c2aede06f855f5c4c808f6eaf5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width