Hi all - <br><br>I am trying to start a scheme script as an unix script (as in <a href="http://docs.plt-scheme.org/guide/scripts.html">http://docs.plt-scheme.org/guide/scripts.html</a>), and I want the script process to keep running until it receives an interrupt signal. <br>
<br>I first tried to figure out if there are command line arguments that can be passed to mzscheme so that it goes into REPL when done executing the script - I couldn't figure out if such arguments exists based on <a href="http://docs.plt-scheme.org/reference/running-sa.html#%28part._mz-cmdline%29">http://docs.plt-scheme.org/reference/running-sa.html#%28part._mz-cmdline%29</a> <br>
<br>Then I looked into web-server, which implements a do-not-return function that waits on a semaphore so it actually never returns from the script.<br><br>So is web-server's approach the best way in such case? Or is there actually a way to enter into REPL after the script exits? Any insights are appreciated.<br>
<br>Thanks,<br>yc<br><br>