Javascript – Store the stdout of NodeJS spawn as a string in a variable
I have a weird situation. I am building an Electron application, and need to return a function that will run an executable in the background and then return the output to the Renderer process. I have the IPC part working…