src/relpipe-in-xmltable.cpp
branchv_0
changeset 2 0d3eb5129582
parent 1 7d6ac51c0d48
child 4 a0689654b3c2
equal deleted inserted replaced
1:7d6ac51c0d48 2:0d3eb5129582
    48 
    48 
    49 	try {
    49 	try {
    50 		CLIParser cliParser;
    50 		CLIParser cliParser;
    51 		Configuration configuration = cliParser.parse(cli.arguments());
    51 		Configuration configuration = cliParser.parse(cli.arguments());
    52 		XMLCommand command;
    52 		XMLCommand command;
    53 		command.process(cin, cout);
    53 		command.process(cin, cout, configuration);
    54 		resultCode = CLI::EXIT_CODE_SUCCESS;
    54 		resultCode = CLI::EXIT_CODE_SUCCESS;
    55 	} catch (RelpipeWriterException& e) {
    55 	} catch (RelpipeWriterException& e) {
    56 		fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessge().c_str());
    56 		fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessge().c_str());
    57 		fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount());
    57 		fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount());
    58 		resultCode = CLI::EXIT_CODE_DATA_ERROR;
    58 		resultCode = CLI::EXIT_CODE_DATA_ERROR;