<br><div class="gmail_quote">On Tue, Jan 12, 2010 at 8:25 PM, Eli Barzilay <span dir="ltr"><<a href="mailto:eli@barzilay.org">eli@barzilay.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Jan 12, YC wrote:<br>
</div><div class="im">> Eli - need to trouble you one more time... it seems like with the<br>
> code I can not accept option arguments (-<x> or --<x>). It seems<br>
> like they were being interpreted by mzscheme instead of by the<br>
> script.<br>
><br>
> $ ./run.ss --port 8080<br>
> ;; => exec mzscheme -it "./run.ss" "--port 8080"<br>
> *mzscheme: bad switch: --port*<br>
> * *<br>
> Is there a way to make mzscheme pass the option to the script, instead of<br>
> interpreting it?<br>
<br>
</div>Sorry, there was a missing "-" there:<br>
<div><div></div><div class="h5"><br>
exec mzscheme -it- "$0" "$@"<br>
<br></div></div></blockquote><div><br>Awesome! Thanks a bunch for your help, Eli - very appreciated.<br><br>Thanks,<br>yc<br></div></div>