The "true Unix way" would be to pipe the xmame output to your program using your shell:
$ xmame.x11 -listinfo | mamed Then read from standard input in your program. On April 10, 2004 0339, Pieter Hulshoff wrote: > Anyone? I've Googled around for a bit, but I haven't been able to find an > answer yet, and I prefer not to use a temporary file. I'm working on MAMEd > V0.4 right now, and want to stop using the gamelist file, so I need to > somehow capture the xmame -listinfo output in a string. > > Regards, > > Pieter Hulshoff > > _______________________________________________ > Xmame mailing list > [EMAIL PROTECTED] > http://toybox.twisted.org.uk/mailman/listinfo/xmame _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame