Update node_modules

This commit is contained in:
crazy-max committed 2020-01-23 08:49:02 +00:00
1 parent 80426e98c8
commit c8a47ad4bb
9923 files changed
+950627 -38

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
var execSh = require('../')
// run interactive bash shell
execSh('echo ola && bash', { cwd: '/home' }, function (err) {
if (err) {
console.log('Exit code: ', err.code)
return
}
// collect streams output
execSh(['bash -c id', 'echo olaola >&2'], true,
function (err, stdout, stderr) {
console.log('error: ', err)
console.log('stdout: ', stdout)
console.log('stderr: ', stderr)
})
})