Nodejs service with pkg does not open the following path with powershell

83 Views Asked by At

I have an application created with Nodejs + pkg + node-notifier + open that I create as a service with NSSM.

The problem is that the npm package 'open' when the app is as a service does not work when executing a command in powershel.

I have looked at most of the documentation and I have not found a way to find out if it returns an error.

C:\WindowsSystem32\WindowsPowerShell\v1.0\powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -EncodedCommand <encode>
0

There are 0 best solutions below