mail-archives/mono-osx/2010-January/002667.html

93 строки
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] Best practice for launching your Mono WinForms application
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Best%20practice%20for%20launching%20your%20Mono%20WinForms%0A%20application&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="002678.html">
<LINK REL="Next" HREF="002668.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] Best practice for launching your Mono WinForms application</H1>
<B>abryson</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Best%20practice%20for%20launching%20your%20Mono%20WinForms%0A%20application&In-Reply-To="
TITLE="[Mono-osx] Best practice for launching your Mono WinForms application">abryson at rm.com
</A><BR>
<I>Thu Jan 14 11:56:20 EST 2010</I>
<P><UL>
<LI>Previous message: <A HREF="002678.html">[Mono-osx] Console.SetWindowPosition Console.SetWindowSize not working on OSX
</A></li>
<LI>Next message: <A HREF="002668.html">[Mono-osx] Best practice for launching your Mono WinForms application
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2667">[ date ]</a>
<a href="thread.html#2667">[ thread ]</a>
<a href="subject.html#2667">[ subject ]</a>
<a href="author.html#2667">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
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: <A HREF="http://old.nabble.com/Best-practice-for-launching-your-Mono-WinForms-application-tp27164492p27164492.html">http://old.nabble.com/Best-practice-for-launching-your-Mono-WinForms-application-tp27164492p27164492.html</A>
Sent from the Mono - OSX mailing list archive at Nabble.com.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002678.html">[Mono-osx] Console.SetWindowPosition Console.SetWindowSize not working on OSX
</A></li>
<LI>Next message: <A HREF="002668.html">[Mono-osx] Best practice for launching your Mono WinForms application
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2667">[ date ]</a>
<a href="thread.html#2667">[ thread ]</a>
<a href="subject.html#2667">[ subject ]</a>
<a href="author.html#2667">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>