diff options
author | Roy Sundahl <rsundahl@apple.com> | 2022-06-24 16:25:09 -0700 |
---|---|---|
committer | Roy Sundahl <rsundahl@apple.com> | 2022-06-27 13:09:34 -0700 |
commit | d2dad6287cb33d4e2ed226b2bd2e5f9097180200 (patch) | |
tree | 574b6a9f9de7d77052241f6b8c53daf90697a086 /lldb/source/Commands/CommandObjectScript.cpp | |
parent | 339e824bcae0499bf2cafd97f1b45a052c15ae39 (diff) | |
download | llvm-d2dad6287cb33d4e2ed226b2bd2e5f9097180200.zip llvm-d2dad6287cb33d4e2ed226b2bd2e5f9097180200.tar.gz llvm-d2dad6287cb33d4e2ed226b2bd2e5f9097180200.tar.bz2 |
Add wait for child processe(s) to exit. (amended+clang-formatted)
It was possible for the parent process to exit before the
forked child process had finished. In some shells, this
causes the pipe to close and FileCheck misses some output
from the child. Waiting for the child process to exit before
exiting the parent, assures that all output from stdout and
stderr is combined and forwarded through the pipe to FileCheck.
rdar://95241490
Differential Revision: https://reviews.llvm.org/D128565
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions