0.1.1 • Published 10 years ago

sudoer v0.1.1

Weekly downloads
18
License
MIT
Repository
-
Last release
10 years ago

Sudoer

Simple sudo wrapper with an exec() interface.

Example

var sudoer = require('sudoer'),
    cmd = '/some/command/that/requires/root/privileges',

sudoer.exec(cmd, function(err, stdout, stderr) {
  if (err) return console.log(err); // Requires sudo privileges
})

Credits, Copyright.

Written by Tomas Pollak. MIT license.

0.1.1

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago