RubyGems Navigation menu

getargv 0.3.0-universal-darwin

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](https://getargv.narzt.cam/) installed. To limit the getargv gem to Apple OSs add it to your Gemfile like so: gem "getargv", "~> 0.3.0", platforms: :ruby, install_if: RbConfig::CONFIG["host_os"].include?("darwin")

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.3.6 - May 28, 2024 universal-darwin (92 KB)
  2. 0.3.5 - December 29, 2023 universal-darwin (92 KB)
  3. 0.3.4 - December 29, 2023 universal-darwin (92 KB)
  4. 0.3.3 - December 29, 2023 universal-darwin (15.5 MB)
  5. 0.3.2 - December 29, 2023 universal-darwin (91.5 KB)
  6. 0.3.0 - March 08, 2023 universal-darwin (91.5 KB)
Show all versions (8 total)

Development Dependencies (7):

minitest ~> 5.0
rake ~> 13.0
rbs >= 0
sdoc >= 0
solargraph >= 0
standard ~> 1.3

Requirements:

macOS

libgetargv installed

Owners:

Pushed by:

Authors:

  • Camden Narzt

SHA 256 checksum:

87bb428695f49544c775b8e9add1767d5f27bb294e02dcf5040aebe4b946a11a

Total downloads 2,117

For this version 392

License:

BSD-3-Clause

Required Ruby Version: >= 2.6.0

Links: