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

Total

Ranking: 126,048 of 187,255
Downloads: 4,940

Daily

Ranking: 10,617 of 187,239
Downloads: 36

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,152,124,538rake
161,076,922,380minitest
67277,722,959sdoc
1,09439,509,012rbs
1,22434,754,884standard
1,55322,458,002ruby-lsp
1,58921,366,586rake-compiler
2,5587,070,385bump

Owners

#GravatarHandle
1iconCamJN