Handle system() call returns and message on error.