阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js process.setgroups

      Node.js process.setgroups(groups)

      新增于: v0.9.4

      • groups < integer[]>

      The process.setgroups() method sets the supplementary group IDs for the Node.js process. This is a privileged operation that requires the Node.js process to have root or the CAP_SETGID capability.

      The groups array can contain numeric group IDs, group names or both.

      This function is only available on POSIX platforms (i.e. not Windows or Android). This feature is not available in Worker threads.


      更多内容请参考:Node.js process 进程,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录