[Mono-list] Wrapper for mono apps

Jonathan Pryor jonpryor at vt.edu
Thu Jul 14 06:58:04 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).

 - Jon




More information about the Mono-list mailing list