await-shell
Advanced tools
Comparing version 1.29.0 to 1.30.0
@@ -71,3 +71,3 @@ /** | ||
spawn(thisCmd, args, global.SPAWN_OPTIONS || DEFAULTS) | ||
spawn(thisCmd, args, global.SHELL_OPTIONS || DEFAULTS) | ||
.on( | ||
@@ -74,0 +74,0 @@ 'exit', |
{ | ||
"name": "await-shell", | ||
"version": "1.29.0", | ||
"version": "1.30.0", | ||
"description": "Execute bash commands with non-blocking I/O.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -61,3 +61,3 @@ # await-shell | ||
await new Promise((resolve, reject) => { | ||
spawn(cmd.shift(), cmd, global.SPAWN_OPTIONS || DEFAULTS) | ||
spawn(cmd.shift(), cmd, global.SHELL_OPTIONS || DEFAULTS) | ||
.on( | ||
@@ -78,3 +78,3 @@ 'exit', | ||
will be visible. For the sake of simplicity, the only arguments `shell` takes | ||
are commands, but you can override this setting with `global.SPAWN_OPTIONS` if | ||
are commands, but you can override this setting with `global.SHELL_OPTIONS` if | ||
necessary. | ||
@@ -81,0 +81,0 @@ |