Method: Vedeu::Distributed::Subprocess#execute!

Defined in:
lib/vedeu/distributed/subprocess.rb

#execute!Array

:nocov:

Returns:



26
27
28
29
30
31
32
33
34
35
36
# File 'lib/vedeu/distributed/subprocess.rb', line 26

def execute!
  file_open && file_write && file_close

  @pid = fork do
    exec(file_path)
  end

  Process.detach(@pid)

  self
end