Lagrange [work/v1.7]

Windows: Open default browser via "cmd.exe start"

=> 61b0b049c05da051ea50166aa1c4966939162685

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) {
 #elif defined (iPlatformLinux)
                          iClob(newStringsCStr_StringList("/usr/bin/x-www-browser", cstr_String(url), NULL))
 #elif defined (iPlatformMsys)
-                         iClob(newStringsCStr_StringList("start", cstr_String(url), NULL))
+        iClob(newStringsCStr_StringList(
+            "c:\\Windows\\System32\\cmd.exe", "/q", "/c", "start", cstr_String(url), NULL))
+        /* TODO: Should consult environment variables to find the
+           right cmd.exe. Also, the prompt window is shown momentarily... */
 #endif
     );
     start_Process(proc);
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.7/cdiff/61b0b049c05da051ea50166aa1c4966939162685
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
56.412235 milliseconds
Gemini-to-HTML Time
0.151112 milliseconds

This content has been proxied by September (ba2dc).