Files
node/doc/api
Sam Roberts 7bd6e33318 doc: streams must be open to be passed to child
spawn stdio options can be a 'stream', but the following code
fails with "Incorrect value for stdio stream: [object Object]",
despite being a stream. The problem is the test isn't really
for a stream, its for an object with a numeric `.fd` property,
and streams do not have an fd until their async 'open' event
has occurred. This is reasonable, but was not documented.

    child_process.spawn('date', [], {stdio: [
      'ignore',
      fs.createWriteStream('out.txt',{flags:'a'}),
      'ignore']})
2014-01-13 21:36:56 +00:00
..
2014-01-08 23:39:02 +04:00
2013-05-28 21:43:37 +02:00
2010-11-07 17:22:56 -08:00
2013-10-15 10:17:23 +02:00
2012-02-29 16:04:54 -08:00
2013-06-28 12:31:37 +02:00