java plugin in nspluginviewer

Koos Vriezen koos.vriezen at xs4all.nl
Mon Oct 21 20:15:32 BST 2002


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





More information about the kfm-devel mailing list