throw err if no executable found