lambduh-execute
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -11,2 +11,4 @@ var Q = require('q'); | ||
} else if (script.shell) { | ||
console.log('spawning shell'); | ||
console.log(script); | ||
proc.exec(script.shell, function(error, stdout, stderr) { | ||
@@ -29,2 +31,4 @@ if (error) { | ||
var child = proc.spawn(script.bashScript, script.bashParams); | ||
console.log('spawning script'); | ||
console.log(script); | ||
child.stdout.on('data', function(data) { | ||
@@ -31,0 +35,0 @@ if (script.logOutput) { |
{ | ||
"name": "lambduh-execute", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Execute any shell string or bash script from AWS Lambda", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9895
176