File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ def nullcontext():
49
49
from IPython .core .magic import Magics
50
50
from IPython .core import magic_arguments
51
51
from .. import error
52
+ import sys
52
53
53
54
# -----------------------------------------------------------------------------
54
55
# Definitions of magic functions for use with IPython
@@ -435,7 +436,8 @@ def parallel_execute(
435
436
except KeyboardInterrupt :
436
437
if signal_on_interrupt is not None :
437
438
print (
438
- f"Received Keyboard Interrupt. Sending signal { signal_on_interrupt } to engines..."
439
+ f"Received Keyboard Interrupt. Sending signal { signal_on_interrupt } to engines..." ,
440
+ file = sys .stderr ,
439
441
)
440
442
self .view .client .send_signal (
441
443
signal_on_interrupt , targets = targets , block = True
You can’t perform that action at this time.
0 commit comments