[plt-scheme] scheme unix script that does not terminate

From: YC (yinso.chen at gmail.com)
Date: Tue Jan 12 22:51:32 EST 2010

On Tue, Jan 12, 2010 at 7:27 PM, Eli Barzilay <eli at barzilay.org> wrote:

>
> You can use this to run the script and then enter the REPL as usual:
>
>  #!/bin/sh
>  #|
>  exec mzscheme -it "$0"
>  |#
>  #lang scheme
>  (printf "Hello\n")
>
>
Very cool - thanks Eli!

A follow-on question - what do I need to do to make the script pick up
command line arguments?  I did a quick mod to print out
current-command-line-arguments and the script is not picking up the command
line args that I passed it.

Thanks,
yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100112/3bb2d4ce/attachment.html>

Posted on the users mailing list.