How can I end an application with nodejs.
Example: I want my application to close Google Chome.
Application is running on linux, xubuntu.
I am developing my application in NODEJS.
tks
This isn't exactly right but should point you in the right direction
// Define Chrome as a child process
var proc = require('child_process').spawn('Google Chrome');
// Then later on
proc.kill();
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.