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

193
Vistas
Use a promise to exit a program

I'm using the solution found here (How to change url on Chromium kiosk mode via ssh) using node.js that is called from a bash script and it works great to change the current URL in chrome. The problem is that the node.js script hangs after it does it's thing. In the script, they say use promise-ws to exit the program then use process.exit().

When I use process.exit() without the promise, the script closes too quickly before passing the argument to chrome. I am new to js and need some help coding the promise.

Thanks for any suggestions.

about 4 years ago · Juan Pablo Isaza
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