catch cases where shell_exec is not available / not allowed