[Mono-osx] Best practice for launching your Mono WinForms application

Stifu stifu at free.fr
Thu Jan 14 14:03:32 EST 2010

You may just want to package your app using the macpack command (comes with

More information:

abryson wrote:
> Hi all,
> I have a .NET 2.0 WinForms application which works well on Windows, but
> need it to run on Mac OS X 10.4,5,6.
> Currently, I've written a MyProgram.command file (using bash) which does a
> few pre-launch setup tasks, and then executes 'mono myProgram.exe'.
> The program executes but application standard output is written to the
> console window.  This isn't so bad I could redirect to /dev/null or a log
> file, but ideally I would like the execution of 'mono myProgram.exe' to be
> detatched from the bash process which the .command file launched, i.e.
> mono launchs, but no shell window is opened / left open.
> Can somebody give me some advice on what method I should be using to
> execute my program?  Otherwise, what format of should the bash script and
> call the 'mono' take please?
> I hope somebody can provide me with some adivce.
> Thank you,
> Andrew Bryson

View this message in context: http://old.nabble.com/Best-practice-for-launching-your-Mono-WinForms-application-tp27164492p27166467.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list