Depends on how you want the user to access the image. Using Seaside you could do something like whats described here:
http://book.seaside.st/book/advanced/deployment/maintaining/requesthandler Esteban A. Maringolo wrote > Is there a way I can externally signal a running pharo-vm in order to > request a shutdown equivalent to clicking on the close icon? > > I'd like to externally manage the start/stop of a Pharo image, but > because the image can be used during development, I'd like to provide > the user with a confirmation dialog instead of simply killing the > process. > > Regards! > > > Esteban A. Maringolo -- View this message in context: http://forum.world.st/Externally-signalling-pharo-VM-for-shutdown-tp4804999p4805003.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.