module Pry::SystemCommandHandler

@api private @since v0.13.0

Public Class Methods

default(output, command, _pry_instance) click to toggle source
# File lib/pry/system_command_handler.rb, line 8
def default(output, command, _pry_instance)
  return if Kernel.system(command)

  output.puts(
    "Error: there was a problem executing system command: #{command}"
  )
end