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

94
Vistas
Integrate one electron project into another with webpack

I have a large electron nodejs project. I also have another project with functionality that I would like to include in the initial project.

I'm trying to find the most effective way to include the second project within the first project. The two projects do not need to interact with each other. The second project should be launched when triggered by IPC.

When in development mode, I can do this as follows:

app.on('launch-project2', async () => {

      exec("cd project2/ && npm start", (error, stdout, stderr) => {
        if (error) {
          console.log(error);
          return;
        } else if (stderr) {
          console.log(stderr);
          return;
        } else if (stdout) {
          console.log(stdout);
        }
      });
})

Is it possible to perform this same functionality after the project is compiled in webpack?

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