Class | Facter::Util::Resolution |
In: |
lib/facter/util/resolution.rb
|
Parent: | Object |
INTERPRETER | = | Facter::Util::Config.is_windows? ? "cmd.exe" : "/bin/sh" |
code | [RW] | |
interpreter | [RW] | |
name | [RW] | |
timeout | [RW] |
Execute a program and return the output of that program.
Returns nil if the program can‘t be found, or if there is a problem executing the code.