================
@@ -27,20 +27,25 @@ def spawn(self, args):
def spawn_and_wait(self, program, delay):
time.sleep(delay)
self.spawn([program])
- self.process.wait()
+ proc = self.target_process
+ # Wait for either the process to exit or the event to be set
+ while proc.poll() is None and not self.spawn_event.is_set():
+ time.sleep(0.1)
----------------
charles-zablit wrote:
This should be fine, the global timeout takes over.
https://github.com/llvm/llvm-project/pull/172879
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits