You are not logged in.

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.

dfmax

Beginner

  • "dfmax" started this thread

Posts: 13

Location: Slovenia

  • Send private message

1

Thursday, February 3rd 2005, 9:14am

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)


Krasu

Beginner

Posts: 30

Location: Republic of Belarus

  • Send private message

2

Thursday, February 3rd 2005, 2:12pm

:)

#cat kprocess.h:
...
* @li When data arrives at stdout or stderr, the signal receivedStdout()
* resp. receivedStderr() is emitted.