Method: Aruba::Processes::SpawnProcess#content

Defined in:
lib/aruba/processes/spawn_process.rb

#contentString

Content of command

Returns:

  • (String)

    The content of the script/command. This might be binary output as string if your command is a binary executable.



325
326
327
# File 'lib/aruba/processes/spawn_process.rb', line 325

def content
  File.read command_path
end