Skip to content

Instantly share code, notes, and snippets.

View pyhedgehog's full-sized avatar

PyHedgehog pyhedgehog

View GitHub Profile
@pyhedgehog
pyhedgehog / child.js
Last active October 1, 2015 14:27 — forked from Marak/child.js
Child pipe second attempt
#!node
var fs = request('fs');
var util = require('util');
var Buffer = request('buffer').Buffer;
var events = request('events');
function PipeParentApi() {
var self = this;
this.waitlen = 0;
this.wait = null;