[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Re: Fetching stdout...How?
From:       Juergen Suessmaier <juergen () suessmaier ! de>
Date:       2001-03-18 7:49:59
[Download RAW message or body]

Hi Francesco,

take a look at the KProcess class documentation. KProcess provides signals
(receivedStdout, receivedStderr) for doing exactly the stuff you need.

Regards,
Juergen

> I'm planning to build a so called front end to some shell commands.
> Browsing QT and KDE docs I've found how to run external commands but how to 
> read their stdout and stderr??
> For instance assume I run ping with a button and I want to display its 
> results in a kde window...
> 
> Thanks in advance
> 
> Francesco
-- 
-------------------------------------------------------------------------
J. Süßmaier Systementwicklungen
Jürgen Süßmaier
juergen@suessmaier.de                       Realtime Software Development
Katharina Geisler Str. 14                       Embedded Applications
D-85356 Freising                                     Automation
Germany
-------------------------------------------------------------------------
                      http://www.suessmaier.de
-------------------------------------------------------------------------
      The day Microsoft makes something that doesn't suck is
        probably the day they start making vacuum cleaners
-------------------------------------------------------------------------

-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic