helper/command: clear errno before calling parser