The simulator is going to have the std input open for itself. You will need to open a file and read that instead of the keyboard.
The simulator is going to have the std input open for itself. You will need to open a file and read that instead of the keyboard.