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: 121,470 of 188,299
Downloads: 5,492

Daily

Ranking: 59,583 of 188,294
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,190,215,327rake
141,113,910,878minitest
68978,265,700sdoc
1,04443,398,398rbs
1,14637,916,035standard
1,51424,637,575ruby-lsp
1,54523,406,429rake-compiler
2,5597,301,197bump

Owners

#GravatarHandle
1iconCamJN