0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
cjihrig c3bb4b1aa5 child_process: add shell option to spawn()
This commit adds a shell option, to spawn() and spawnSync(). This
option allows child processes to be spawned with or without a
shell. The option also allows a custom shell to be defined, for
compatibility with exec()'s shell option.

Fixes: https://github.com/nodejs/node/issues/1009
PR-URL: https://github.com/nodejs/node/pull/4598
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-01-26 19:40:43 -05:00
..
internal internal/child_process: call postSend on error 2016-01-22 13:27:18 -05:00
_debug_agent.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_debugger.js lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
_http_agent.js http: use self.keepAlive instead of self.options.keepAlive 2015-12-30 11:08:16 -08:00
_http_client.js http: remove variable redeclaration 2016-01-11 10:31:45 -08:00
_http_common.js http: remove reference to onParserExecute 2016-01-22 00:35:00 +01:00
_http_incoming.js http: fix non-string header value concatenation 2015-12-30 12:39:17 -05:00
_http_outgoing.js http: Remove an unnecessary assignment 2015-12-17 08:35:59 -08:00
_http_server.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
_linklist.js lib,test: deprecate _linklist 2015-10-08 17:32:08 -07:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js stream: refactor redeclared variables 2016-01-24 21:27:22 -08:00
_stream_transform.js stream: remove useless if test in transform 2016-01-11 18:46:06 +01:00
_stream_wrap.js stream_wrap: error if stream has StringDecoder 2015-12-06 21:55:25 -05:00
_stream_writable.js streams: update .readable/.writable to false 2015-12-02 12:56:48 -05:00
_tls_common.js tls: scope loop vars with let 2016-01-26 20:53:05 +01:00
_tls_legacy.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
_tls_wrap.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
assert.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
buffer.js buffer: allow encoding param to collapse 2016-01-22 11:32:16 -07:00
child_process.js child_process: add shell option to spawn() 2016-01-26 19:40:43 -05:00
cluster.js cluster: fix race condition setting suicide prop 2016-01-13 20:15:02 -08:00
console.js console: delete timers that have ended 2015-11-13 11:36:45 -05:00
constants.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
crypto.js crypto: pbkdf2 deprecate digest overload. 2016-01-23 02:26:28 +09:00
dgram.js dgram: prevent disabled optimization of bind() 2016-01-13 09:06:54 -08:00
dns.js dns: throw a TypeError in lookupService with invalid port 2016-01-25 15:15:31 -06:00
domain.js domains: clear stack when no error handler 2016-01-13 10:55:15 -08:00
events.js lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
fs.js fs: remove unused branches 2016-01-23 19:44:08 +01:00
http.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
https.js http: overridable clientError 2016-01-07 03:39:15 -05:00
module.js src: attach error to stack on displayErrors 2016-01-26 11:03:13 -05:00
net.js net: add net.listening boolean property over a getter 2016-01-21 16:34:35 -06:00
os.js lib: remove unused modules 2015-12-25 13:05:23 -08:00
path.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
querystring.js querystring: improve parse() performance 2016-01-14 18:02:52 -08:00
readline.js readline: Remove XXX and output debuglog 2016-01-18 07:57:55 -08:00
repl.js repl: use String#repeat instead of Array#join 2015-12-21 10:54:01 -06:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js lib: don't use global Buffer 2015-06-11 20:24:44 +02:00
sys.js util: introduce printDeprecationMessage function 2015-06-04 10:59:43 +03:00
timers.js timers: fail early when callback is not a function 2016-01-04 14:56:19 +11:00
tls.js lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
tty.js lib: remove unused modules 2015-12-25 13:05:23 -08:00
url.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
util.js util: Change how Error objects are formatted 2016-01-11 09:57:15 -08:00
v8.js v8,src: expose statistics about heap spaces 2016-01-18 11:44:00 -05:00
vm.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
zlib.js zlib: only apply drain listener if given callback 2015-11-14 08:11:28 -08:00