RE: [gtk-list] capturing error messages



Before Erik answers this one...
Look at the "Advanced UNIX programming" book.

> -----Original Message-----
> From: Aaron Walker [mailto:amwalker@gate.net]
> Sent: Friday, November 26, 1999 1:16 PM
> To: gtk-list@redhat.com
> 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 
> gtk-list-request@redhat.com < /dev/null
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]