0.1.0 • Published 14 years ago
wintools v0.1.0
wintools - Some windows tools for node.js
Installation
npm install wintoolsvar wintools = require('wintools');API
wintools.ps(callback)where callback isfunction(err, list)returns a list of running processes.wintools.kill.pid(pid, callback)kills a process by PID.wintools.kill.image(imageName, callback)kills a process by image name (e.g.node.exe).wintools.shutdown.poweroff([callback])turns of off the machine immediately.wintools.shutdown.restart([callback])rstarts the machine immediately.
License
MIT
0.1.0
14 years ago