Hacker News new | ask | show | jobs
by lukeschlather 2496 days ago
Recently I was trying to automate something with gsutil (Google's storage CLI) using Powershell remoting to a Windows host. gsutil is a totally well-behaved posix app, which emits status information to stderr. The bug is specifically that when using remoting (Windows equivalent of ssh) the error is uncatchable.

[Remoting Bug] https://github.com/PowerShell/PowerShell/issues/3996

[RFC for improved error handling] https://github.com/PowerShell/PowerShell-RFC/pull/88

Ultimately I just want Powershell to handle well-behaved posix apps in a sane way, but honestly the reaction of some of the people on the thread seems like there's a huge cultural gap between Microsoft and the Posix community. (Which, Microsoft claims to be a part of but clearly is not.)