Method: RightScale::Platform::Shell#format_executable_command

Defined in:
lib/right_agent/platform.rb,
lib/right_agent/platform/unix/platform.rb,
lib/right_agent/platform/windows/platform.rb

#format_executable_command(executable_file_path, *arguments) ⇒ String

Formats an executable command by quoting any of the arguments as needed and building an executable command string.

Parameters:

  • executable_file_path (String)

    for formatting

  • arguments (Array)

    for command or empty

Returns:

  • (String)

    executable command string



487
488
489
# File 'lib/right_agent/platform.rb', line 487

def format_executable_command(executable_file_path, *arguments)
  must_be_overridden
end