fetch executable name on macosx