RubyGems Navigation menu

getargv 0.3.16-universal-darwin

Getargv

Getargv is a gem that allows you to query the arguments of other processes as an array or string.

This gem only supports macOS because the KERN_PROCARGS2 sysctl only exists in xnu kernels, BSD or Linux users should just read /proc/$PID/cmdline which is much easier and faster, Solaris users should use pargs.

This gem requires you have libgetargv installed.

To limit the getargv gem to Apple OSs add it to your Gemfile like so:

gem "getargv", "~> 0.3.16", platforms: :ruby, install_if: RbConfig::CONFIG["host_os"].include?("darwin")

Gemfile:
=

安装:
=

版本列表:

  1. 0.3.17 March 21, 2026 universal-darwin (93.5 KB)
  2. 0.3.16 March 21, 2026 universal-darwin (93.5 KB)
  3. 0.3.15 March 20, 2026 universal-darwin (93.0 KB)
  4. 0.3.14 March 19, 2026 universal-darwin (93.0 KB)
  5. 0.3.13 February 22, 2026 universal-darwin (93.0 KB)
显示所有版本 (共 19 个)

Development 依赖 (8):

bump >= 0
minitest >= 0
rake >= 0
rbs >= 0
ruby-lsp >= 0
sdoc >= 0
standard >= 0

要求:

macOS

libgetargv installed

所有者:

推送者:

GitHub

作者:

  • Camden Narzt

SHA 256 校验和:

=

下载总量 6,763

这个版本 71

版本发布:

许可:

BSD-3-Clause

需要的 Ruby 版本: >= 2.6.0

链接: