Hello, I was just passing by and noticed that in the acknowledgements of the readme you write
Strangely, Go doesn't just provide this, it requires magic like exiterr.Sys().(syscall.WaitStatus) and more.
However, this doesn't seem to be true, as cmd.ProcessState.ExitCode() returns the exit code and was introduced in go1.12 released > 6 years ago.
It works correctly, I've been using it in my project rbcp which calls robocopy on windows and parses it's streaming output (I did not know of this library at that time 😅).
Hello, I was just passing by and noticed that in the acknowledgements of the readme you write
However, this doesn't seem to be true, as
cmd.ProcessState.ExitCode()returns the exit code and was introduced in go1.12 released > 6 years ago.It works correctly, I've been using it in my project
rbcpwhich callsrobocopyon windows and parses it's streaming output (I did not know of this library at that time 😅).