[英]How to close an applcation with node js
Thanks to open or opn in node js I'm able to open an Excel file. 感谢在node js中打开或opn,我能够打开Excel文件。 But after this, I want to close this one. 但是在此之后,我想结束这一件事。
Do you know something to close an application with node js ? 您是否知道使用Node js关闭应用程序的知识?
Thank you, Mathieu 谢谢Mathieu
You can use kill or fkill to send a signal to the application: 您可以使用kill或fkill向应用程序发送信号:
But you'd need to know its PID. 但是您需要知道其PID。 See other modules: 查看其他模块:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.