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: 158,339 of 183,501
Downloads: 2,929

Daily

Ranking: 34,028 of 183,494
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
10970,092,883rake
19911,151,013minitest
53775,345,943sdoc
1,26226,661,845solargraph
1,35923,556,004standard
1,37922,810,703rbs
1,74113,967,452rake-compiler
2,8074,699,849bump

Owners

#GravatarHandle
1iconCamJN