Writting a Core Launcher in Angular Electron

DuelistRage

Trial Member
7
2020
0
I´m currently writting a core launcher in angular electron and try to add start buttons for worldserver etc.
Everything works fine except from the two main buttons World and Auth server.

The code to execute a file:
JavaScript:
openApp(path) {
    var executablePath = path;
    var parameters = [];
    this.electron.childProcess.execFile(executablePath, parameters, function (err, data) {
      if(err){
        console.error(err);
        return;
     }
 
     console.log(data.toString());
    });
  }

and i get the error "Command Failed"

i tried to open bunch of random executables like audacity, or even the wow client worked, but worldserver.exe and bnetserver.exe do not work
 
Top