docs: function (code, args, done) {
    var pyg = spawn(bin, args.toArray()),
        out = [],
        failed = false;
  
    pyg.on('error', function() {
      failed = true;
      done.apply(this, arguments);
    })
  
    pyg.stdout.setEncoding('utf8');
    pyg.stderr.setEncoding('utf8');
  
    var pusher = function(data) {
      out.push(data.toString());
    }
  
    pyg.stdout.on('data', pusher);
    pyg.stderr.on('data', pusher);
  
    pyg.on('exit', function (status) {
      // Return if done already called
      if(failed)
        return
  
      // pygmentize was successful
      if(status == 0)
        return done(null, out.join(''));
  
      // pygmentize was unsuccessful (cli error?)
      return done(out.join(''));
    });
  
    pyg.stdin.write(code);
    pyg.stdin.end();
  
  }