summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-05-10 12:02:24 +0000
committerPavel Labath <labath@google.com>2018-05-10 12:02:24 +0000
commit60851ec87f4c9d5c98914348a22d35a20b242601 (patch)
tree8c0ddcf2bb8c7f0fa8911f0fc480ed6292e5b3a9
parent10c218d4afd30ffe2f63349e31d683f898029b1a (diff)
downloadbcm5719-llvm-60851ec87f4c9d5c98914348a22d35a20b242601.tar.gz
bcm5719-llvm-60851ec87f4c9d5c98914348a22d35a20b242601.zip
Fix one more RunShellcommand occurence in mac code
llvm-svn: 331977
-rw-r--r--lldb/source/Host/macosx/Host.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm
index 4cf01776900..d87c6be915c 100644
--- a/lldb/source/Host/macosx/Host.mm
+++ b/lldb/source/Host/macosx/Host.mm
@@ -1554,7 +1554,8 @@ Status Host::ShellExpandArguments(ProcessLaunchInfo &launch_info) {
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",
OpenPOWER on IntegriCloud