On Fri, 16 Jul 2004 10:35:34 +0100, Jonathan Stowe <[EMAIL PROTECTED]> wrote: > Rename this to the same as your .exe file (but without the extension) > and put it in the same directory: > > #!/bin/sh > exec /usr/local/bin/mono $0.exe "$@"
Why not have an option on mcs to have the mcs wrapper create an .exe-specific wrapper? The unix mcs script could create a unix shell script, and the windows mcs.bat could create a batch file. So: mcs -target:exe MyClass.cs -out:MyProgram.exe -wrap would create MyProgram.exe and MyProgram shell script (or MyProgram.bat). Niel _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
