error_routine: use parent's stderr if exec fails