[src] Checking for errors in exec