Shuting down squeak in linux

David T. Lewis lewis at mail.msen.com
Thu Mar 8 01:09:04 UTC 2007


On Wed, Mar 07, 2007 at 11:32:53PM +0100, Bert Freudenberg wrote:
> Maybe saving the image in the OSProcess signal handler does not work  
> because that handler runs in its own Squeak process. Dave Lewis might  
> know a solution.
> 
> - Bert -

This seems to work:

  [OSProcess accessor forwardSigTerm wait.
  OSProcess accessor restoreSigTerm.
  OSProcess snapshot: true andQuit: true] fork

Then from a unix command line, "kill -15 <squeakpid>".

Dave




More information about the Squeak-dev mailing list