code: function safeExec(command, options) {
    const result = exec(command, options);
    if (result.code !== 0) {
      exit(result.code);
      return null;
    }
    return result;
  }
docs: Exec that exits on non 0 exit code.