IssueRaiser

The problem is that many old utilities in Windows don't use the exit code to indicate failure.

The problem is that many old utilities in Windows don't use the exit code to indicate failure. PowerShell cmdlets have exceptions that can be caught with `try`/`catch`, and there's `-ErrorAction Stop`, but there was no good solution for native commands.

Posted by felixfbecker on Jan 21, 2020, 12:22 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

hackernews (Other)

The problem is that many old utilities in Windows don't use the exit code to indicate failure.

felixfbeckerJan 21, 2020, 12:22 PM

The problem is that many old utilities in Windows don't use the exit code to indicate failure. PowerShell cmdlets have exceptions that can be caught with `try`/`catch`, and there's `-ErrorAction Stop`, but there was no good solution for native commands.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue