Method: ProcessExecuter::Result#command

Defined in:
lib/process_executer/result.rb

#commandArray (readonly)

The command that was used to spawn the process

Examples:

result.command #=> [{ 'GIT_DIR' => '/path/to/repo' }, 'git', 'status']

Returns:

  • (Array)

See Also:

  • Process.spawn

59
60
61
# File 'lib/process_executer/result.rb', line 59

def command
  @command
end