Basically, I want to spam the screen with "yay" for one second then exit the program/stop the loop. I need to get fork to somehow work like this. Don't want some alarm() stuff that refuse to work on some platforms. This has a real use: I always try to get my new code to work before I put it to use.