使用PKG的Nodejs服务不会使用PowerShell打开以下路径
我有一个使用nodejs + pkg + node-nodifier + Open创建的应用程序,该应用程序是用NSSM创建的。
问题在于,当应用程序作为服务在PowerShel中执行命令时,NPM软件包“打开”。
我已经查看了大部分文档,但我还没有找到一种方法来找出它是否返回错误。
C:\WindowsSystem32\WindowsPowerShell\v1.0\powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -EncodedCommand <encode>
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>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论