Message: 12 Date: Fri, 18 Jun 2004 13:09:33 -0400 Subject: Re: [Mono-list] [ann] Mono Starter for OS X From: Andy Satori <[EMAIL PROTECTED]> To: Elfred Pagan <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Only if X is already running and you have your default Terminal environment
setup to launch X apps from Terminal.
Andy
Actually, unless you're not using Apple's X11 or have an esoteric configuration on your X server, there's no problem: the exact command line executed is
clear && export DISPLAY=:0.0 && "/path/to/mono" "/path/to/exe.exe" && exit 1
(the exit 1 prevents Terminal from closing the window on program termination.) The DISPLAY is all that's needed on a factory Apple X11 installation.
Another thing I forgot to mention: this uses Cocoa bindings to store and show preferences and as such MIGHT not start on 10.2 and I'm quite sure it won't start except in late versions of 10.2 (10.2.6-10.2.8). It will work fine on any 10.3 box. The day I'll stop using Apple's programmer aids and write real code, it'll work on older 10.2 boxes too.
- e.v. aka l0ne
-- Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor: Migliaia di prodotti a tua disposizione di Telefonia, Informatica, * Audio Video, Climatizzazione, Orologi e tantissime offerte on-line� Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2648&d=18-6 _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
