On Tue, 2004-04-06 at 17:57, Aaron Weber wrote:
> Thanks for the explanation. How's this sound?
> 
> 
> The normal way to run a Mono application is to invoke it through the
> interpreter, like so:
Caution. You probably dont mean an `interpreter'. Someone could get
confused with interpreter vs jit.

>        #!/bin/sh
>        /usr/bin/mono myprogram.exe
This will execute `myprogram.exe' that is located in the current working
directory. You probably want an absolute path there. Or you could get
the path of the script that is executing.

Also, you want to put "$@" at the end so that it gets arguments.

cat `which mcs` has a good example.

_______________________________________________
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list

Reply via email to