Factor out processes_select.h