lib/vedeu/distributed/subprocess.rb in vedeu-0.4.7 vs lib/vedeu/distributed/subprocess.rb in vedeu-0.4.8

- old
+ new

@@ -5,12 +5,11 @@ # @example # Vedeu::TestApplication.build # class Subprocess - # @param application [Vedeu::TestApplication] - # @return [Array] + # @param (see #initialize) def self.execute!(application) new(application).execute! end # @param application [Vedeu::TestApplication] @@ -18,10 +17,11 @@ def initialize(application) @application = application @pid = nil end + # :nocov: # @return [Array] def execute! file_open && file_write && file_close @pid = fork do @@ -30,9 +30,10 @@ Process.detach(@pid) self end + # :nocov: # Sends the KILL signal to the process. # # @return [void] def kill