def send_signal(signal):
    """
    Send the signal to the selected master gunicorn process and show the given
    message as the current status.
    """
    if selected_pid in gunicorns:
        Popen(["kill", "-%s" % signal, selected_pid])
    curses.flash()
dataset/ETHPy150Open stephenmcd/gunicorn-console/gunicorn_console.py/send_signal/original