[Mono-dev] (no subject)
tsureshkumar at novell.com
Tue Sep 20 11:57:57 EDT 2005
>>> On Tue, Sep 13, 2005 at 12:17 pm, in message
<BAY5-F3A4059B8285FAA6428CC6BF9C0 at phx.gbl>, "Sridhar Kulkarni"
<sridharkulkarni at msn.com> wrote:
> If we have executable hello.exe created from a cs file, then to run
> we have to say "mono hello.exe". I have several exe which needds to
> executed to start my app. Is there a way that the executable runs
> saying "hello"?...... Any script needs to be written for that.
Best is to wrap your program into a shell script
in minimal, it would be a shell script named "hello"
/usr/bin/mono <your_program_path>/hello.exe "$@"
Or you can use linux's binfmt utility to register mono as interpreter
for exe files. But, I would prefer above.
> See him in the 'mustached' avatar in Mangal Pandey.
> http://server1.msn.co.in/SP05/Mangalpandey/index.html Click here to
> about the movie.
> Mono- devel- list mailing list
> Mono- devel- list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono- devel- list
More information about the Mono-devel-list