def SafeDelete()

in annotated_steps.py [0:0]


def SafeDelete(path, bot_info):
  if bot_info.system == 'windows':
    if os.path.exists(path):
      args = ['cmd.exe', '/c', 'rmdir', '/q', '/s', path]
      RunProcess(args)
  else:
    shutil.rmtree(path, ignore_errors=True)