Skip to content

API changes between v0.4 and v0.6

igorzi edited this page Oct 11, 2011 · 83 revisions

Changed:

  • The customFds option to the child_process.spawn method is deprecated.
  • You can no longer send a file descriptor through a unix pipe. Instead you can send a handle via child_process.fork.
  • fs.symlink takes an optional mode argument, which can either be 'dir' or 'file'. By default mode is 'file'. This argument is only needed for Windows (it's ignored on other platforms).

Added:

  • zlib module
  • child_process.fork
  • 'fs.watch'

Clone this wiki locally