> I know this happpens in Java using AWT or Swing - in the basic GUI Hello > World program you can make a window appear. Pressing the close button > closes the window but the program continues running, as the programmer did > not catch the window closing event and quit the application. Code has to be > written so that the programmer can close connections and open files, write > data to disk, etc, before the application closes. >
another possibility is a GUI written as a frontend to a daemon/console utility that tries to run something but never kills it.