--On Wednesday, June 12, 2002 12:10 AM +0200 Shadow Walker 
<[EMAIL PROTECTED]> wrote:

> thanks for the answer, the problem is that I'm using a pipe to read the
> result of the xmame audit, I mean I use something like ...
> command = g_strdup_printf("xmame -verifyroms 2>/dev/null);
> xmame_pipe = popen(command, "r");
> ...
> fgets(line, BUFFER_SIZE, xmame_pipe)
> ...
> then I try to read the xmame_pipe.
> I tried to flush this pipe or to change the size of the buffer but it
> didn't changed anything. I also try to redirect the stdout into stderr in
> the command (xmame -verifyroms 2>&1 1>&2) but it wasn't working either. I
> don't see how you want to use tee in this case (maybe I wasn't really
> clear in my first mail)

Try:

command = g_strdup_printf("xmame -verifyroms 2>/dev/null | tee /dev/null");

-- 
Carson


_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to