Hacker News new | ask | show | jobs
by ashmud 3497 days ago
This bit me badly when trying to pipe GPG output. I ended up building a command string and sending it to cmd. :|
1 comments

That is odd, powershell shells out to cmd.exe if you try to pipe binary or text data. It goes back to powershell only if you use powershell commands in the pipeline.

If you don't pass the flags zo handle it as binary in those cases stuff breaks.