Method: Yast::HooksClass::HookFile#execute
- Defined in:
- library/general/src/modules/Hooks.rb
#execute ⇒ Object
211 212 213 214 215 216 |
# File 'library/general/src/modules/Hooks.rb', line 211 def execute log.info "Executing hook file '#{path}'" @result = OpenStruct.new(SCR.Execute(Path.new(".target.bash_output"), path.to_s.shellescape)) log.error "Hook file '#{path.basename}' failed with stderr: #{result.stderr}" if failed? result end |