Hi folks,
I'm relatively new to QT and I'm going nut with a weird problem. I'm using Qt 4.3.1. what i want to do is spawning a process and collect it's output to a child window, that's the code I'm executing:
QProcess* proc = new QProcess(this);
proc->setProcessChannelMode(QProcess::MergedChannels) ;
connect(proc,SIGNAL(finished(int,QProcess::ExitSta tus)), this, SLOT(procFinished(int,QProcess::ExitStatus)));
connect(proc,SIGNAL(readyRead()), this, SLOT(pipeData()));
proc->start(app,QStringList() << "-v" << "3");
the pipeData slot just read using readAllStandardOutput() and concatenate it in the view.
the problem is that I receive only ONE signal with approx 4K of data, after that one, I don't get any activity further. The process I spawned has its own logging system , so I can verify that's effectively running and that's effectively dumping more data, but nothing comes from the pipes...
any suggestion ?
Thanks![]()
Bookmarks