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

Total

Ranking: 117,893 of 189,654
Downloads: 5,954

Daily

Ranking: 36,032 of 189,628
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
91,238,481,866rake
141,149,918,291minitest
70078,773,083sdoc
99747,591,680rbs
1,10441,377,923standard
1,47526,666,520ruby-lsp
1,52525,160,449rake-compiler
2,5507,537,035bump

Owners

#GravatarHandle
1iconCamJN