Files
node/doc
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
..
2013-05-09 15:15:39 -07:00
2013-12-31 16:24:58 -08:00
2013-05-09 15:15:39 -07:00
2013-05-09 15:15:39 -07:00
2012-09-27 13:25:55 -07:00
2011-11-27 21:52:27 +01:00
2013-12-11 20:41:36 -08:00
2012-02-14 14:34:43 -08:00
2012-06-22 08:49:20 -07:00
2009-09-10 13:40:38 +02:00
2011-07-11 08:30:37 -07:00
2011-12-05 16:20:44 -08:00