module ProcessExecuter
def self.wait_for_process(pid, command, options)
- Api: - private
Returns:
-
(ProcessExecuter::Result)
- The result of the completed subprocess
Parameters:
-
options
(ProcessExecuter::Options
) -- the options used -
pid
(Integer
) -- the process ID
def self.wait_for_process(pid, command, options) s.clock_gettime(Process::CLOCK_MONOTONIC) ed_out = wait_for_process_raw(pid, options.timeout_after) ess.clock_gettime(Process::CLOCK_MONOTONIC) - start_time sult.new(process_status, command:, options:, timed_out:, elapsed_time:)