Show HN: Snips.sh – passwordless, anonymous SSH-powered pastebin s snips.sh 8 notrob 3 years ago 1 comments
Show HN: Roastedby.ai – Talk some trash, have some fun r roastedby.ai 46 notrob 3 years ago 53 comments
> While this behavior can be changed by passing ignoreReturnCode as the third argument ExecOptions, the default behavior is very surprising.
This is the same behavior as node's child process exec when wrapped by util.promisify[1] If something returns a promise (async func) it should be expected that it has the possibility of being rejected.
[1] https://nodejs.org/api/child_process.html#child_processexecc...