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

List:       kde-devel
Subject:    Re: KProcess not catching stdout
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2005-02-10 16:24:13
Message-ID: 200502101724.13295.kevin.krammer () gmx ! at
[Download RAW message or body]

On Thursday 10 February 2005 08:46, Christopher J. Bottaro wrote:
> Stefan Winter wrote:
> >>>   authProc->start(KProcess::DontCare, KProcess::Stdout);
> >>
> >>you cannot run the process DontCare if you care for its output.
> >
> > Changing it to NotifyOnExit didn't help either.
>
> Maybe the process is writing to stderr?
> authProc->start(KProcess::DontCare, KProcess::Stdout | KProcess::Stderr)

I think it is KProcess::AllOutput as the second parameter to start()

Cheers,
Kevin
-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
www.mrunix.de - German Unix/Linux programming forum
www.qtforum.org - Qt programming forum
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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