You are not logged in.

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.