Convey port selection, environment variables, etc. to PathExecutor instances

Information provided such as ports, environment variables, uris for CommandExecutor isn't provided for PathExecutors. This unifies the information available to both.