Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 412 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 412 Bytes

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')