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

Total

Ranking: 119,220 of 188,742
Downloads: 5,775

Daily

Ranking: 9,546 of 188,718
Downloads: 105

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,201,589,493rake
141,126,410,692minitest
69578,433,391sdoc
1,02644,644,929rbs
1,13239,139,813standard
1,50625,200,591ruby-lsp
1,53824,148,088rake-compiler
2,5587,374,049bump

Owners

#GravatarHandle
1iconCamJN