class Byebug::RestartCommand

def execute

def execute
  cmd = [$PROGRAM_NAME]
  cmd = prepend_byebug_bin(cmd)
  cmd = prepend_ruby_bin(cmd)
  cmd += (@match[:args] ? @match[:args].shellsplit : $ARGV)
  puts pr("restart.success", cmd: cmd.shelljoin)
  Kernel.exec(*cmd)
end