From be73ece358dd2aed6a1f31132311e3a142a43f36 Mon Sep 17 00:00:00 2001 From: IG Date: Thu, 7 Sep 2023 15:57:39 +0100 Subject: [PATCH] try process::start instead of shellexecute --- bt/app/browser.cpp | 4 +++- common | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bt/app/browser.cpp b/bt/app/browser.cpp index de47f5d..9e3695d 100644 --- a/bt/app/browser.cpp +++ b/bt/app/browser.cpp @@ -2,6 +2,7 @@ #include #include #include "win32/shell.h" +#include "win32/process.h" #include "str.h" #include "../globals.h" #include @@ -232,7 +233,8 @@ namespace bt { arg += user_arg; } - win32::shell::exec(b->open_cmd, arg); + //win32::shell::exec(b->open_cmd, arg); + win32::process::start(b->open_cmd + " " + arg); } bool browser_instance::is_match(const std::string& url, match_rule& mr) const { diff --git a/common b/common index 6d28f83..877b51f 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 6d28f838f9cb3f20dd313fa673f442ba69d352ed +Subproject commit 877b51fb832e9e113fb1f6540c3f437365ebf916