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

Flashing command prompts on windows #22

Closed
BartaG512 opened this issue Aug 24, 2021 · 2 comments
Closed

Flashing command prompts on windows #22

BartaG512 opened this issue Aug 24, 2021 · 2 comments

Comments

@BartaG512
Copy link
Contributor

BartaG512 commented Aug 24, 2021

Related: node-opcua/node-opcua#1043

Is your feature request related to a problem? Please describe.

When starting a nodejs process with pm2 using node-opcua on Windows 10 a Windows Prompt windows pops ups each time when "node-opcua-pki" package runs child_process.exec() method. The exec process is calling openssl.
There are two occurances: lib/misc/install_prerequisite.ts:98 and lib/pki/toolbox.js:123

Describe the solution you'd like

I would like to make disappear the flashing popups each time the application starts.
This could be achieved by using options windowsHide: true in exec method
Source nodejs docs

Additional context

I was able to stop the popups with editing the two js files in dist folder.
install_prerequisite.js
image
toolbox.js
image

node-opcua version: node-opcua@^2.47.0
node version: v14.17.0
Operating System: win32 10.0.19042

@erossignon
Copy link
Member

fixed in [email protected]

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