in reply to Stop a .exe
You can open a pipe to the program (see perlopentut), and print a newline to the pipe. With a bit of luck, that has the same effect than pressing Enter.
Conway's Game of Life
Perl regular expressions
My Magic 8-Ball™
Results (189 votes). Check out past polls.