Forking and Interrupting a Fiber with Stdin Listener

Hi, simple question. I want to fork a fiber (long background process), and then listen to stdin and interrupt that fiber on any input data (enter pressed)
Was this page helpful?