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

abryson abryson at rm.com
Thu Jan 14 11:56:20 EST 2010


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-tp27164492p27164492.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list