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

List:       kfm-devel
Subject:    Re: java plugin in nspluginviewer
From:       Till Krech <till () snafu ! de>
Date:       2002-10-21 19:51:03
[Download RAW message or body]

On Monday 21 October 2002 21:15, Koos Vriezen wrote:
> On Mon, 21 Oct 2002, Till Krech wrote:
> > On Monday 21 October 2002 06:47, George Staikos wrote:
> > > On October 20, 2002 18:05, Till Krech wrote:
> > > > There are several problems:
> > > > 1) I do not get any debug output from nspluginviewer. It is started
> > > > from a KProcess within the plugin_part in konqueror. My workaround:
> > > > use receivedStderr signal and a slotStderr wich does a kdDebug. Not
> > > > very nice.
> > >
> > >   Does it not go to .xsession-errors?
> >
> > No it doesn't.
> > lsof says:
> > nspluginv 30340 till    0r   CHR        1,3            59659 /dev/null
> > nspluginv 30340 till    1w   CHR        1,3            59659 /dev/null
> > nspluginv 30340 till    2w   CHR        1,3            59659 /dev/null
>
> Just a wild idea, can't you redirect stderr to a file like:
>
> #include <stdio.h>
>
> int main() {
>     freopen("test.out", "w", stderr);
>     fprintf(stderr, "hi");
>     return 0;
> }
>
> Koos
_good_ idea - and so simple. We should sometimes remeber the good old days 
when there were no signals, no slots and no dcop. Just file io ;) Works 
perfectly.

thanks, till

-- 
Till Krech from Berlin, Germany is happy with
SuSE Linux 8.0 (i386) 2.4.18-64GB-SMP * KDE: 3.0.8 (KDE 3.1 beta2)
Qt: 3.1.0-b2 * gcc version 3.2

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

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