def GetCaughtSignals():
  signals = [signal.SIGINT, signal.SIGTERM]
  if not IS_WINDOWS:
    # Windows doesn't have SIGQUIT.
    signals.append(signal.SIGQUIT)
  return signals
Returns terminating signals that can be caught on this OS platform.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/sig_handling.py/GetCaughtSignals