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
I cannot seem to find any function/macro in this library that I can use to get an exit code from a command. The closest I found is run_cmd!(), but that errors to something like:
Running ["bash" "-c" "time ./build/debug/foo"] exited with error; status code: 1 at src/main.rs:83
with no way to extract that 1 unless I parsed the string itself, which is not ideal.
The text was updated successfully, but these errors were encountered:
I cannot seem to find any function/macro in this library that I can use to get an exit code from a command. The closest I found is
run_cmd!()
, but that errors to something like:with no way to extract that
1
unless I parsed the string itself, which is not ideal.The text was updated successfully, but these errors were encountered: