Class: ForeignExecutable
- Inherits:
-
EdrGenBase
- Object
- EdrGenBase
- ForeignExecutable
- Defined in:
- lib/edr_gen/foreign_executable.rb
Overview
This class is used to run executables that are not part of this program.
Constant Summary collapse
- ACTIVITY =
"process_start"
Constants included from YamlLogger
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(args) ⇒ ForeignExecutable
constructor
A new instance of ForeignExecutable.
Methods included from YamlLogger
Constructor Details
#initialize(args) ⇒ ForeignExecutable
Returns a new instance of ForeignExecutable.
7 8 9 |
# File 'lib/edr_gen/foreign_executable.rb', line 7 def initialize(args) super(args) end |
Instance Method Details
#call ⇒ Object
11 12 13 14 15 |
# File 'lib/edr_gen/foreign_executable.rb', line 11 def call puts " Executing \"#{path}\" with options: #{args} ..." execute_process puts " Process started with PID: #{pid}" end |