XForms: fl_finish atexit and child processes

Dick Middleton (dick@sqf.hp.com)
Thu, 29 Jan 1998 14:21:26 GMT

# To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

Any ideas for working around this nice little "gotcha"?

If you register fl_finish using atexit to nicely disconnect from X server at
program termination then you have a problem with child processes which exit
or die. In such a case the X server connection is prematurely terminated.
This is because the child process also has fl_finish registered.

This situation is likely to occur with the child process if an exec call in
the child fails with, for example, a "file not found" error.

Dick

--

dick@sqf.hp.com _________________________________________________ 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://bloch.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/