summaryrefslogtreecommitdiff
path: root/zen/process_exec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/process_exec.cpp')
-rw-r--r--zen/process_exec.cpp4
1 files changed, 2 insertions, 2 deletions
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<int> 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
bgstack15