class ProcessExecuter::Result
def initialize(status, command:, options:, timed_out:, elapsed_time:)
- Api: - public
Parameters:
-
elapsed_time
(Numeric
) -- the secs the command ran -
timed_out
(Boolean
) -- true if the process timed out -
options
(ProcessExecuter::Options
) -- the options that were used to spawn the process -
command
(Array
) -- the command that was used to spawn the process -
status
(Process::Status
) -- the status to delegate to
def initialize(status, command:, options:, timed_out:, elapsed_time:) super(status) @command = command @options = options @timed_out = timed_out @elapsed_time = elapsed_time end