Is it possible to run a command and not stop the execution?
The command I am running may return error code > 0, but that's considered a totally normal in my situation.
For example, I am running a tool called pixelmatch, which may return error code 66 in case input images don't match.
Right now, if I use with_exec with the following command:
pixelmatch /sample1.png /sample2.png /diff.png 0.1
I get this (log cut for breviry):
#3
#3 0.524 matched in: 95.832ms
#3 0.525 different pixels: 428622
#3 0.525 error: 19.72%
#3 ERROR: process "pixelmatch /sample3.png /sample4.png /diff-new.png 0.1 > /dev/null" did not complete successfully: exit code: 66
Perhaps there's an alternative to with_exec that would not stumbled upon a non-0 exit code?
P.S. I am trying out Elixir SDK.