Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

343
Views
¿Es posible ejecutar archivos exe en ReactJS?

Tengo una pregunta, hice un Game Launcher para mi juego Unity con ReactJS, ¿es posible ejecutar el juego (un archivo exe) cuando haces clic en reproducir?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Te sugiero que lo hagas con NodeJS, ya que te dará mucho más control. Invoque una llamada API a su script local de NodeJS

ReaccionarJS

 useEffect(() => { fetch(NODE_URL + "/execute-binary") .then(response => response.json()) .then(data => console.log(data)); }, []);

Guión de nodo:

 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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!