tags:

views:

19

answers:

0

I'd like to display a WPF app's console so I can run scripts on my application. I have been using the ConsoleManager class in this thread. I'm not sure what happened, but now, I am unable to input any text. Anytime I call Console.ReadLine(), it immediately returns null. Turns out that Console.In is a NullTextReader.

How can I make sure that the Console class gets set up properly with a proper TextReader instance?