brsolab-process
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -49,5 +49,5 @@ /** | ||
prcess.kill(9); | ||
reject({error: 'process timeout', timeout: options.timeout, exitCode: -1}); | ||
reject({error: 'process timeout', timeout: options.timeout, exitCode: -1, command, args}); | ||
}catch(e){ | ||
reject({error: e, exitCode: -2}); | ||
reject({error: e, exitCode: -2, command, args}); | ||
} | ||
@@ -54,0 +54,0 @@ }, options.timeout); |
{ | ||
"name": "brsolab-process", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Nodejs Child Process wrapper with timeout and promises", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
10589