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.9", platforms: :ruby, install_if: RbConfig::CONFIG["host_os"].include?("darwin")
Total
Ranking: 136,685 of 186,833
Downloads: 4,222
Daily
Ranking: 31,457 of 186,696
Downloads: 14
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | CamJN |