summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/app.c b/src/app.c
index 36388062..5eceebec 100644
--- a/src/app.c
+++ b/src/app.c
@@ -992,7 +992,10 @@ void openInDefaultBrowser_App(const iString *url) {
992#elif defined (iPlatformLinux) 992#elif defined (iPlatformLinux)
993 iClob(newStringsCStr_StringList("/usr/bin/x-www-browser", cstr_String(url), NULL)) 993 iClob(newStringsCStr_StringList("/usr/bin/x-www-browser", cstr_String(url), NULL))
994#elif defined (iPlatformMsys) 994#elif defined (iPlatformMsys)
995 iClob(newStringsCStr_StringList("start", cstr_String(url), NULL)) 995 iClob(newStringsCStr_StringList(
996 "c:\\Windows\\System32\\cmd.exe", "/q", "/c", "start", cstr_String(url), NULL))
997 /* TODO: Should consult environment variables to find the
998 right cmd.exe. Also, the prompt window is shown momentarily... */
996#endif 999#endif
997 ); 1000 );
998 start_Process(proc); 1001 start_Process(proc);