optional second param is an options object to enable overriding the executable name