nushell: Piping external to internal hangs
I’m testing this pipeline.
powershell -c "ps | convertto-json" | from-json
The PowerShell PS command returns a lot more process information, but the shell just hangs. There’s no process activity for nu.exe or Windows Command Processor. The shell is unresponsive.
Just the external command, powershell -c "ps | convertto-json" works as expected and spits out json to the screen.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 24 (16 by maintainers)
Commits related to this issue
- Update zh_CN translation for nu books (#514) * Update zh_CN translation for nu books * cs — committed to Hofer-Julian/nushell by hustcer 2 years ago
@cdhunt - I just landed a fix that should help with the hangs you were seeing. I’ve tested it on Linux, and I’m hoping the same fix helps Windows also.
If you can, would you be able to checkout the latest Nu from master, build it, and try your example again?
I’m working on a Rustlang Windows container to run the build.