Untested, and assuming I understand what is going on: after "start" add "waitusr gDROui" and "unload all". This causes execution of the .hal script to wait until gDROui exits, then unloads everything. (I think there's also an implicit "unload all" in halrun, so on second thought this may not be necessary if you're using halrun as opposed to halcmd).
Without "waitusr", then you run off the end of the script with HAL still loaded. It's not surprising that you have to use something like "halrun -U" to clean things up. (though I am the tiniest bit surprised that the automatic "unload all" in halrun doesn't close the glade window for you, leading to a window that appears and then immediately goes away) Jeff ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
