docs: function execCommand(command, encoding) {
      return new _promise2.default(function (resolve, reject) {
          exec(command, {
              encoding: 'buffer',
              maxBuffer: 1024 * 1024 * 10
          }, function (error, stdout, stderr) {
              if (error) {
                  reject(error);
              } else {
                  if (!encoding) {
                      var cp = execSync('chcp').toString().split(':')[1].trim();
                      encoding = 'cp' + cp;
                  }
                  if (stderr.toString().trim()) {
                      reject(new Error(iconv.decode(stderr, encoding)));
                  } else {
                      resolve(iconv.decode(stdout, encoding));
                  }
              }
          });
      });
  }