Skip to content

Commit c9ddc59

Browse files
committed
add a wait_for_output
1 parent 70f96af commit c9ddc59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ipyparallel/client/magics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ def parallel_execute(
336336
if block:
337337
cm = result.stream_output() if stream_output else nullcontext()
338338
with cm:
339+
result.wait_for_output()
339340
result.get()
340341
# Skip stdout/stderr if streaming stdout/stderr
341342
result.display_outputs(groupby, skip_stdout_stderr=bool(stream_output))

0 commit comments

Comments
 (0)