code: function(task, pid) {
    this.task = task;
    this.pid = pid;
    this.failedCount = 0;
    this.buffer = '';
    this.exitCode = -1;
    this.insertTag = true;
  }
docs: A reporter for a specific task.
  
  @constructor
  @param {object} task Task that is being reported.
  @param {number} pid PID of process running the task.