If you pass a .reg to RegAlyzer for import, it will close after importing the file unless you specify /gui.