[Mono-bugs] [Bug 439545] Process class no longer works correctly on Mac OS X 10. 4 or earlier

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Dec 27 09:13:16 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=439545

User gnorton at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=439545#c8





--- Comment #8 from Geoff Norton <gnorton at novell.com>  2008-12-27 07:13:06 MST ---
@sandy,

  Can you try this patch on 10.4:

diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c
index 014439b..0d950ee 100644
--- a/mono/io-layer/processes.c
+++ b/mono/io-layer/processes.c
@@ -442,7 +442,11 @@ gboolean ShellExecuteEx (WapiShellExecuteInfo *sei)
                        return FALSE;

 #ifdef PLATFORM_MACOSX
+#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
+               handler = g_strdup ("/usr/bin/open");
+#else
                handler = g_strdup ("/usr/bin/open -W");
+#endif
 #else
                /*
                 * On Linux, try: xdg-open, the FreeDesktop standard way of
doing it,


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list