This isn't a very good solution since the shell function doesn't
really block (although it appears to from the script). This is so
that you can you can abort a hung process by pressing control-C, and
so that MetaCard will continue to redraw the windows while a long
program is running. Shell will poll the running program (and for X
redraw and keyboard events) every 100 msecs until the program exits,
taking up even more CPU time than if you'd just used the idle
messages.
Scott
> Pete Diffey
>
-- *********************************************************************** * Scott Raney 303-447-3936 Remember: the better you look, * * raney@metacard.com the more you'll see -- Lidia * ***********************************************************************