[Mono-list] Wrapper for mono apps

Chris Aitken chris at ion-dreams.com
Thu Jul 14 07:06:18 EDT 2005


> On Thu, 2005-07-14 at 11:44 +0100, Chris Aitken wrote:
> > What is the current thinking on how to execute mono apps without 
> > prepending mono?
> 
> The preferred way is to use a shell-script wrapper.  This is 
> used by all programs shipped with mono (mcs, cilc, gacutil, 
> etc.), e.g.:
> 
> 	#!/bin/sh
> 	exec /usr/bin/mono /usr/lib/mono/1.0/mcs.exe "$@"
> 
> This is preferred as it will work on all Unix platforms 
> without requiring any special kernel modules (which 
> frequently conflict with Wine, since CIL programs use the 
> same object code format as normal Win32 programs).

Thanks guys.

It looks like the shell-script wrapper requires a script per executable. Is
this correct?

Gavin - I had heard (as mentioned by Jonathan) that the binfmt way can
conflict with WINE. Have you experienced this?

I also google:
chrisa at persephone:~/CS$ google hello.exe
-bash: google: command not found
chrisa at persephone:~/CS$

Doesn't seem to work for me ;)

Thanks
Chris



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Mono-list mailing list