Use semafor interactive mode to run it as s subprocess rather than
as a web service
(see https://github.com/vanatteveldt/semafor/tree/interactive_mode)