A pass-through application that sets the system input stream to a ConsoleReader and invokes the specified main method.