How to use the safeps.exec function in safeps

To help you get started, we’ve selected a few safeps examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bevry / boundation / source / fs.js View on Github external
return new Promise(function(resolve, reject) {
		safeps.exec(command, opts, function(err, stdout) {
			if (err) return reject(new Errlop(`exec failed: ${command}`, err))
			return resolve(stdout)
		})
	})
}

safeps

Work with processes safely and easily with Node.js

Artistic-2.0
Latest version published 10 months ago

Package Health Score

61 / 100
Full package analysis