Class: Aspera::Cli::Plugins::Server::LocalExecutor

Inherits:
Object
  • Object
show all
Defined in:
lib/aspera/cli/plugins/server.rb

Instance Method Summary collapse

Instance Method Details

#execute(ascmd_path, input:) ⇒ Object



34
35
36
# File 'lib/aspera/cli/plugins/server.rb', line 34

def execute(ascmd_path, input:)
  return Environment.secure_capture(exec: ascmd_path, stdin_data: input, binmode: true, exception: false)
end