I am developing an electron-vue applicaton which requires the main process to spawn a binary (mac) in order to retrieve some JSON and pass it back to the renderer process (vue).