Closed sahinakkaya closed 4 years ago
Merged, thanks!
You are welcome. I don't know if a program can terminate with a signal and have an exit status at the same time so I wrote two if
statements. But if it can't happen, which probably is, you may consider changing the bottom if
to an elif
, just for better code.
Currently calico raises a TypeError if the tested program terminates abnormally (i.e. with a SIGSEGV or other signals). This patch includes required checks to prevent this.