Show error message when exec() fails