[Lldb-commits] [lldb] r331977 - Fix one more RunShellcommand occurence in mac code

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu May 10 05:02:24 PDT 2018


Author: labath
Date: Thu May 10 05:02:24 2018
New Revision: 331977

URL: http://llvm.org/viewvc/llvm-project?rev=331977&view=rev
Log:
Fix one more RunShellcommand occurence in mac code

Modified:
    lldb/trunk/source/Host/macosx/Host.mm

Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=331977&r1=331976&r2=331977&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Thu May 10 05:02:24 2018
@@ -1554,7 +1554,8 @@ Status Host::ShellExpandArguments(Proces
         launch_info.SetWorkingDirectory(working_dir);
       }
     }
-    RunShellCommand(expand_command, cwd, &status, nullptr, &output, 10);
+    RunShellCommand(expand_command, cwd, &status, nullptr, &output,
+                    std::chrono::seconds(10));
 
     if (status != 0) {
       error.SetErrorStringWithFormat("lldb-argdumper exited with error %d",




More information about the lldb-commits mailing list