Hi,
Steve Lamont wrote:
> > I just want to include a button on one of my forms that runs an external X
> > program. I have a callback function attached to this button that just
> This worked perfectly for me in an admittedly quick test:
>
> void launch_cb(FL_OBJECT *ob, long data)
> {
>
> if ( fork() == 0 )
> execl( "/usr/X11R6.1/bin/xv", "xv", NULL );
>
> }
But from that routine you won't get an error message.
I have read about another possibilty for this, but I don't remember now.
-- live long and prosperDaniel Bloemer
>> << WINDOWS95 - gesehen, gelacht, geloescht >> << Never touch a running System, just Shoot it Up >> << MY Homepage : http://titan.cs.uni-bonn.de/~bloemer >>
_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/