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

131
Views
From Electron main file how to call a function in another concurrent project

I have my project structure as follow.

Main Project
  -Project A(Electron + React)
   -node_modules
   -package.json
   -src
   -public
    -electron.js

  -Project B(Terminal based)
   -node_modules
   -package.json
   -src
    -lib
     -terminal.js

What I want to achieve is from electron.js, call a function named 'config', which is inside terminal.js file. How can I do that?

I have tried to use child-process but its throwing error. I am new to Electron and any help would be good.

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