npm.io
1.0.1 • Published 4 years ago

angelabilities-exec

Licence
MIT
Version
1.0.1
Deps
0
Size
3 kB
Vulns
0
Weekly
0

angelabilities-exec

Handy common code for angel to execute shell commands

setup

npm i angelabilities-exec --save-dev

angel.exec

Execute arbitrary shell commands and get their stdout & stderr piped through the running process.

callback style
let childProcess = angel.exec("touch this", function (err, statusCode) {})
promise style
await angel.exec('touch this')