From 3555dbc4b7157f9b522617de78c84f2e28e70f45 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 17 Aug 2021 19:22:37 -0400 Subject: add upstream 11.13 --- zen/process_exec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zen/process_exec.cpp') diff --git a/zen/process_exec.cpp b/zen/process_exec.cpp index f51ceae2..0c5789d5 100644 --- a/zen/process_exec.cpp +++ b/zen/process_exec.cpp @@ -238,8 +238,8 @@ void zen::openWithDefaultApp(const Zstring& itemPath) //throw FileError try { std::optional timeoutMs; - const Zstring cmdTemplate = R"(xdg-open "%x")"; //*might* block! - timeoutMs = 0; //e.g. on Lubuntu if Firefox is started and not already running => no need time out! https://freefilesync.org/forum/viewtopic.php?t=8260 + const Zstring cmdTemplate = R"(xdg-open "%x")"; //*might* block! + timeoutMs = 0; //e.g. on Lubuntu if Firefox is started and not already running => no need for time out! https://freefilesync.org/forum/viewtopic.php?t=8260 const Zstring cmdLine = replaceCpy(cmdTemplate, Zstr("%x"), itemPath); if (const auto& [exitCode, output] = consoleExecute(cmdLine, timeoutMs); //throw SysError, SysErrorTimeOut -- cgit