child_process: add errno property to exceptions
authorAndreas Madsen <amwebdk@gmail.com>
Tue, 17 Jan 2012 07:04:50 +0000 (08:04 +0100)
committerBert Belder <bertbelder@gmail.com>
Tue, 17 Jan 2012 17:37:02 +0000 (18:37 +0100)
commitca6ededbd1af5cc759ec98952b84c0b34edb2d40
tree5b1fb79fa18b4ce7a978d67503bcb989fede89c7
parent16953329413831b32f4c3b2255aeacec874ed69d
child_process: add errno property to exceptions

In case of a write failure when using fork() an error would be thrown. The
thrown exception was missing the `errno` property.
lib/child_process.js