class Mixlib::ShellOut
def uid
The uid that the subprocess will switch to. If the user attribute was
def uid return nil unless user user.kind_of?(Integer) ? user : Etc.getpwnam(user.to_s).uid end
def uid return nil unless user user.kind_of?(Integer) ? user : Etc.getpwnam(user.to_s).uid end