text: /**
   * Created by bluewaitor on 16/1/11.
   */
  
  var spawn = require('child_process').spawn;
  var duplexer = require('duplexer2');
  
  module.exports = function (cmd, args) {
      var ps = spawn(cmd, args);
      return duplexer(ps.stdin, ps.stdout);
  };