class Byebug::RestartCommand

def execute

def execute
  argv = [$PROGRAM_NAME]
  argv.unshift(bin_file) if Byebug.mode == :standalone
  argv += (@match[:args] ? @match[:args].shellsplit : $ARGV.compact)
  puts pr('restart.success', cmd: argv.shelljoin)
  Kernel.exec(*argv)
end