简体   繁体   中英

How to close an applcation with node js

Thanks to open or opn in node js I'm able to open an Excel file. But after this, I want to close this one.

Do you know something to close an application with node js ?

Thank you, Mathieu

You can use kill or fkill to send a signal to the application:

But you'd need to know its PID. See other modules:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM