Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
starting KProcess
My current line looks like this:
|
Source code
|
1
|
proc->start (KProcess::NotifyOnExit,KProcess::Stdout);
|
With this line I'm able to read only stdout. How can I start a KProcess to be able to read from stdout and stderr?
thank you!
This post has been edited 1 times, last edit by "dfmax" (Feb 3rd 2005, 9:15am)
#cat kprocess.h:
...
* @li When data arrives at stdout or stderr, the signal receivedStdout()
* resp. receivedStderr() is emitted.