summaryrefslogtreecommitdiff
path: root/zen/process_exec.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-08-17 19:22:37 -0400
committerB. Stack <bgstack15@gmail.com>2021-08-17 19:22:37 -0400
commit3555dbc4b7157f9b522617de78c84f2e28e70f45 (patch)
treeec5580fe98230ce8eb25a5ed6e53b3ec5dfd03f9 /zen/process_exec.cpp
parentMerge branch '11.12-fix' into 'master' (diff)
downloadFreeFileSync-3555dbc4b7157f9b522617de78c84f2e28e70f45.tar.gz
FreeFileSync-3555dbc4b7157f9b522617de78c84f2e28e70f45.tar.bz2
FreeFileSync-3555dbc4b7157f9b522617de78c84f2e28e70f45.zip
add upstream 11.13
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