Categories: None [Edit]
getargv
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
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
10 | 970,092,883 | rake |
19 | 911,151,013 | minitest |
537 | 75,345,943 | sdoc |
1,262 | 26,661,845 | solargraph |
1,359 | 23,556,004 | standard |
1,379 | 22,810,703 | rbs |
1,741 | 13,967,452 | rake-compiler |
2,807 | 4,699,849 | bump |
Owners
# | Gravatar | Handle |
---|---|---|
1 | CamJN |