code: function generatePatchedEnv(env, inPort, outPort) {
  	// Set the two unique pipe names and the electron flag as process env
  	var newEnv = {};
  	for (var key in env) {
  		newEnv[key] = env[key];
  	}
  	newEnv['STDIN_PORT'] = inPort;
  	newEnv['STDOUT_PORT'] = outPort;
  	return newEnv;
  }
docs: Clones the given environment map and adds in the std-in / std-out ports numbers
  @param {*} env
  @param {*} inPort
  @param {*} outPort