Categories: None [Edit]

getargv

https://rubygems.org/gems/getargv
https://github.com/getargv/getargv.rb
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.10", platforms: :ruby, install_if: RbConfig::CONFIG["host_os"].include?("darwin")

Total

Ranking: 122,614 of 187,988
Downloads: 5,334

Daily

Ranking: 13,489 of 187,967
Downloads: 19

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,178,455,784rake
151,102,312,086minitest
68778,077,678sdoc
1,05842,170,189rbs
1,17736,749,368standard
1,52723,958,024ruby-lsp
1,55622,762,361rake-compiler
2,5627,220,520bump

Owners

#GravatarHandle
1iconCamJN