C repl bug about OS errors not being displayed

Problem description:
C repls doesnt specify what OS error happened, only says exit status -1 and if you have common sense this is NOT ENOUGH

Expected behavior:
specify OS error (memory, seg fault, illegal instruction…)

Actual behavior:
exit status -1 (unsolvable bugs)

happens in every platform