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
Just fyi, I was confused by this as well, but you basically never need to do await result; result.exitCode - it is going to be zero!
When the subprocess returns non-zero exit code, tinyexec will throw NonZeroExitError. So, you can read a non-zero exitCode only when you wrap the await in try-catch.
useful to have so that users dont need to do
await result; result.exitCode
The text was updated successfully, but these errors were encountered: