-
Sometimes I have to write in the xonsh REPL a for-loop of long running commands . For example: For d in data_set_list:
work_on_dataset @(d) When I press Ctrl-c during the long running command MWEHere an minimal working example everybody can try: for i in range(5):
print(i)
sleep 10 When I Ctrl-c out of the What I've tried
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey! I know this case and I agree it's really annoying. Lines 269 to 288 in 26c6e11 When you run |
Beta Was this translation helpful? Give feedback.
-
Fixed in #5380. Set |
Beta Was this translation helpful? Give feedback.
Fixed in #5380. Set
$RAISE_SUBPROC_ERROR = True
before loop.