You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing commands like grep it's important to know the actual processes exit code:
0 = found matches
1 = no matches found
>= 2 = actual errors.
The current implementation does not allow one to tell the difference between no matches found and actual errors, you could inspect the stdout, but that's quite messy.
Also the waitUntilComplete() should probably return a tuple of the output + status + exitCode instead of throwing an Error, to allow access to the underlying output without having to parse the error's message. A custom error with these properties would also work.