in reply to Re: STDIN and timeout or auto answer
in thread STDIN and timeout or auto answer

alarm doesn't work on Windows, at least not here. Neither does select with non-socket handles, so that's out too.