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
tomc 4:05 AM
I've run into a situation a few times now where I want to run a shell command not have non-zero exit codes crash the script. Would it make sense for spire to allow something like that? perhaps (shell {:cmd "whatever" :accept-codes #{0 254}})?
Crispin 10:41 AM
yeah that makes total sense. the module curl has something like that :success-test. Would make it take a function, so you could put a predicate there, or a set.
The text was updated successfully, but these errors were encountered:
tomc 4:05 AM
I've run into a situation a few times now where I want to run a shell command not have non-zero exit codes crash the script. Would it make sense for spire to allow something like that? perhaps
(shell {:cmd "whatever" :accept-codes #{0 254}})
?Crispin 10:41 AM
yeah that makes total sense. the module
curl
has something like that:success-test
. Would make it take a function, so you could put a predicate there, or a set.The text was updated successfully, but these errors were encountered: