Stop squeak running in background?

Giovanni Giorgi jj at objectsroot.com
Fri Sep 24 12:08:27 UTC 2004


Laurent Cocea ha scritto  in data 23/09/2004 20.00:

>[...]
>
>  squeak -nosound -nodisplay &
>
>What is the best way to stop squeak in this case? I can use `killall
>squeak', or just open the System Monitor and end or kill the process.
>But could this approach result in data loss or corruption? Is there a
>"preferred" way to stop squeak when running w/o a GUI?
>  
>
Hem....yes the preferred way is to execute something like
    Smalltalk snapshot: true andQuit: true.
Some year ago I have done a special PWS Wiki action that can do this 
thing when invoked by curl or wget.
This is not so much secure because someone can "guess" the url and shut 
down your service.

    The best way should be to trigger a special process when a unix 
signal is received, but we should change the JVM to do that.
Some ideas?


>Any helpful suggestion will be appreciated.
>--Laurent
>  
>


-- 
.............................................................
 Giovanni Giorgi               ObjectWay SpA - Milano
 http://www.objectway.it    via Boltraffio, 7 - 20156 Milano
.............................................................




More information about the Squeak-dev mailing list