Module: IronWorkerNG::Code::Runtime::Binary

Includes:
Feature::Common::MergeExec::InstanceMethods
Defined in:
lib/iron_worker_ng/code/runtime/binary.rb

Instance Method Summary collapse

Methods included from Feature::Common::MergeExec::InstanceMethods

#merge_exec

Instance Method Details

#runtime_run_code(local, params) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/iron_worker_ng/code/runtime/binary.rb', line 7

def runtime_run_code(local, params)
  <<RUN_CODE
chmod +x #{File.basename(@exec.path)}

#{File.basename(@exec.path)} #{params}
RUN_CODE
end