-
Notifications
You must be signed in to change notification settings - Fork 7.7k
PowerShell cannot have a pipeline with more then 2 native processes with redirected stdin #3321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It's blocked on https://github.com/dotnet/corefx/issues/13447 I'd treat it is a high priority, because it makes impossible to have any pipeline with 2 or more native commands (when both have stdin redirected). The simpler repro is |
CC @joeyaiello |
I submitted a PR to fix dotnet/corefx#13447. The PR is at dotnet/corefx#19988 |
The PR has been merged to dotnet/master and ported to release/2.0 branch.: dotnet/corefx#20001 I also verified that this issue doesn't repro with the fix in .NET Core 2.0:
Hence, I'm closing this issue. |
@daxian-dbw that's awesome, thank you so much!! |
Did we not have a test for this? |
@daxian-dbw is it just not yet included in the dotnet packages we consume? |
We haven't moved to the lastest dotnet preview2 packages yet because preview2 packages will break VSCode. preview2 packages are not supported by VSCode C# extension at this moment, see dotnet/vscode-csharp#1495 |
We are moving back to .NET Core 2.0.0-preview1 via PR #4026 due to regressions in the latest .NET Core 2.0.0-preview2 (https://github.com/dotnet/corefx/issues/21095). So re-open this bug. |
We finally moved to .NET Core 2.0.0-preview3 via PR #4144. |
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
Expected behavior
Return filtered results. I.e. same as
Actual behavior
Pipeline hanging (first grep never receives "output closed" event, besides the fact that corresponding stream is disposed)
Environment data
The text was updated successfully, but these errors were encountered: