Using Electron, how do you run and pass an argument to a script like vbs


#1

I can start a vbs file using shell.openItem but I also need to pass the script some arguments like an array of key value pairs. Is this possible ?

The vbscript in passing some variables to SAP and returning the results. Using a HTA with a vbscript works, or using Python & Flask works. I have to use a vbscript because this is the only way you can communicate with SAP GUI.