RubyGems Navigation menu

getargv 0.3.4-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.4", platforms: :ruby, install_if: RbConfig::CONFIG["host_os"].include?("darwin")

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

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

Development Dependencies (8):

bump ~> 0.10
minitest ~> 5.20
rake ~> 13.1
rbs >= 0
sdoc >= 0
solargraph >= 0
standard ~> 1.33

Requirements:

macOS

libgetargv installed

Owners:

Pushed by:

GitHub

Authors:

  • Camden Narzt

SHA 256 checksum:

f300a53c0668e085e45188fa830d2e42a90ed2efa459d9891920961ffe6bf0d1

Total downloads 1,803

For this version 149

License:

BSD-3-Clause

Required Ruby Version: >= 2.6.0

Links: