diff options
-rw-r--r-- | src/app.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |