child_process: don't `resume()` created socket
authorMaciej Małecki <me@mmalecki.com>
Fri, 4 Jan 2013 04:53:55 +0000 (05:53 +0100)
committerisaacs <i@izs.me>
Mon, 7 Jan 2013 16:36:49 +0000 (08:36 -0800)
commita5d4e74891dd5cf4351704ba554637b584f1840a
treef985850c7217f4732f843122c0fea9f0c494a069
parent8adebb92bcd51a856cd44d4918502e133f67d63b
child_process: don't `resume()` created socket

Calling `resume()` on a stream switches it to the old mode which causes
piping stdio from a child process to fail.

Fixes joyent/node#4510.
lib/child_process.js