OK hi I've got a question. I start a process with:
|
Source code
|
1
|
makeProc->start (KProcess::NotifyOnExit,KProcess::Stdout);
|
and make connection with:
|
Source code
|
1
|
connect( instProc, SIGNAL( receivedStdout (KProcess * , char *, int) ), this, SLOT( getText(KProcess*, char*, int ) ) );
|
and
|
Source code
|
1
|
connect( instProc, SIGNAL( receivedStderr (KProcess * , char *, int) ), this, SLOT( getErrText(KProcess*, char*, int ) ) );
|
Ok my question: I know that only the first connection works, but how can I start a Kprocess with stdout and stderr?