patched-wintools

0.2.0 • Public • Published

wintools - Some windows tools for node.js

npm install wintools
  • ps(callback) where callback is function(err, list) returns a list of running processes.
  • kill.pid(pid, callback) kills a process by PID.
  • kill.image(imageName, callback) kills a process by image name (e.g. node.exe).
  • shutdown.poweroff([callback]) turns of off the machine immediately.
  • shutdown.restart([callback]) rstarts the machine immediately.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i patched-wintools

Weekly Downloads

10

Version

0.2.0

License

none

Last publish

Collaborators

  • thorerik