lib/pipeStream.js
function connectEvents(self){
    if(self.stdout){
        self.stdout.on('data', function(d){
            self.emit('data', d);
        });
        self.stderr.on('data', function(d){
            self.emit('error', d);
        });
    }
}
function connectEvents(self){
    if(self.stdout){
        self.stdout.on('data', function(d){
            self.emit('data', d);
        });
        self.stderr.on('data', function(d){
            self.emit('error', d);
        });
    }
}
function connectEvents ( self ) { if ( self . stdout ) { self . stdout . on ( 'data' , function ( d ) { self . emit ( 'data' , d ) ; } ) ; self . stderr . on ( 'data' , function ( d ) { self . emit ( 'error' , d ) ; } ) ; } }
Function for connecting some events

@param {EventEmitter} self
Function for connecting some events