regedit
Version:
Read, Write, List and do all sorts of funky stuff to the windows registry using node.js and windows script host
21 lines (14 loc) • 385 B
JavaScript
var childProcess = require('child_process')
module.exports = function(options) {
options = options || {}
return function execFile() {
var child = childProcess.execFile.apply(childProcess, arguments)
if (!options.bufferStdout) {
child.stdout.removeAllListeners('data')
}
if (!options.bufferStderr) {
child.stderr.removeAllListeners('data')
}
return child
}
}