Before Erik answers this one...
Look at the "Advanced UNIX programming" book.
> -----Original Message-----
> From: Aaron Walker [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 26, 1999 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: [gtk-list] capturing error messages
>
>
> is there a way to capture what a program sends to stderr()
> and redirect
> it to a error dialog box?
> I am writing an app that is a GUI front end to another
> program, I would
> like to capture all errors and make an error dialog box.
>
> For example, if the user specifies an incorrect filename, the console
> says "filename: File not found". I would like to have a dialog pop up
> and say the same thing.
>
> Is this possible?
>
> thanks,
> Aaron
>
> --
> Visit my web site at http://iconmedia.com/cgi-bin/index.pl
>
> Current uptime:
> 1:12pm up 9:44, 1 user, load average: 0.79, 1.01, 0.98
>
>
>
> --
> To unsubscribe: mail -s unsubscribe
> [EMAIL PROTECTED] < /dev/null
>
>
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null