Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

338
Vistas
possible to run exe files in ReactJS?

I have a question, I made a Game Launcher for my Unity game with ReactJS, is it possible to run the game ( an exe file) when you click on play?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I'd suggest you should do it with NodeJS, as it will give you much more control. Invoke an API Call to your local NodeJS script

ReactJS

useEffect(() => {

   fetch(NODE_URL + "/execute-binary")
     .then(response => response.json())
     .then(data => console.log(data));

}, []);

Node Script:

var exec = require('child_process').execFile;

var funToExecuteBinary = function(){
   exec('gamelauncher.exe', function(err, data) {  
        console.log(err)
        console.log(data.toString());                       
    });  
}

app.get('/execute-binary', function(req, res) {
    funToExecuteBinary();
    res.send('Game launcher executed');
})
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda