[Mono-osx] Is there a way to launch an appp bundle from c# (ubder mono)

Mephisto shmayev at gmail.com
Thu Sep 30 03:36:55 EDT 2010


Thanks a lot. 

Summing it.

here is the code to launch your app from c# code:

using System.Diagnostics;

string appPath = "Users/admin/Desktop/YOUR_APP_NAME.app";
			
Process application = new Process();
			
application.StartInfo.FileName = appPath;      
application.StartInfo.Arguments = string.Empty;
application.Start();

And your coolest application will be launched!!!

Thanks to Tomasz Muszyński and Mephisto 
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Is-there-a-way-to-launch-an-app-bundle-from-c-under-mono-tp2719873p2720308.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list