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

Total

Ranking: 171,529 of 180,469
Downloads: 1,789

Daily

Ranking: 132,035 of 180,459
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
16854,040,010rake
20801,054,890minitest
44173,609,893sdoc
1,26022,196,873solargraph
1,47716,659,844standard
1,64012,951,327rbs
1,69611,824,858rake-compiler
2,7264,360,507bump

Owners

#GravatarHandle
1iconCamJN