Stop clearing LastExitCode
The clearing of $LastExitCode in our Exec function is masking failures of windows commands. Cannot understand why this is the case but easy to demonstrate in practice.
Showing
想要评论请 注册 或 登录
The clearing of $LastExitCode in our Exec function is masking failures of windows commands. Cannot understand why this is the case but easy to demonstrate in practice.