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

Total

Ranking: 159,006 of 183,139
Downloads: 2,825

Daily

Ranking: 66,923 of 183,127
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
10954,857,689rake
19896,189,392minitest
52575,118,729sdoc
1,25826,130,979solargraph
1,37022,582,369standard
1,39821,441,760rbs
1,74113,635,190rake-compiler
2,7964,655,703bump

Owners

#GravatarHandle
1iconCamJN