[Mono-list] Wrapper for mono apps
Michal Moskal
michal.moskal at gmail.com
Thu Jul 14 08:19:23 EDT 2005
On 7/14/05, Jonathan Pryor <jonpryor at vt.edu> wrote:
> 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 "$@"
The guide doesn't mention "exec", which I guess could be fixed. The
lost of one PID isn't that big, but still ;-)
--
Michal Moskal,
http://nemerle.org/~malekith/
More information about the Mono-list
mailing list