Comment 1 for bug 1411317

Revision history for this message
Atanu Mishra (atanu-mishra) wrote :

Suggestion from Dave George --

Here's the fix (in SqlciMain.cpp):
@@ -232,7 +232,7 @@ Int32 main (Int32 argc, char *argv[])
   {
     file_init_attach(&argc, &argv, TRUE, (char *)"");
     msg_debug_hook("sqlci", "sqlci.hook");
- file_mon_process_startup(true);
+ file_mon_process_startup2(true, false);

To fix it in dtmci.cpp you need the following:
- msg_mon_process_startup(false);
+ msg_mon_process_startup3(false, false);

In both cases, this turns off ‘pipeio’ – which routes stdout thru the monitor.