Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate window with process.fork() #71

Closed
AZn5ReD opened this issue May 10, 2020 · 2 comments
Closed

Duplicate window with process.fork() #71

AZn5ReD opened this issue May 10, 2020 · 2 comments

Comments

@AZn5ReD
Copy link

AZn5ReD commented May 10, 2020

Hi,

I don't know if the issue is related to packer or linuxdeployqt, so I try here.

I use node child process child_process.fork() in my program. I give a file path as input to choose which module to start in the child process. It works fine during npm run debug and npm start, but with the final packer build, it opens a new similar window and closes as soon as the process ends.

Is there a workaround or a fix for that ?

Thank you !

@constgen
Copy link

Can you try as a workaround child_process.spawn()? Because it has an option {windowsHide: true}

@AZn5ReD
Copy link
Author

AZn5ReD commented Oct 14, 2020

Works like a charm !
Thanks 👍

@AZn5ReD AZn5ReD closed this as completed Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants