[Mono-docs-list] Question about EXE binaries and kernels?

Felipe Alfaro Solana felipe_alfaro@linuxmail.org
Wed, 07 Apr 2004 01:22:31 +0200


On Wed, 2004-04-07 at 00:17, Ben Maurer wrote:
> 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.

Good catch!