How to return back to the interactive shell directly from any function on the stack #8878
-
My question is, in a scenario that a The current solution is to use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The only thing approximating non-local control flow is signal handling. This "sort of" works:
and will restore interactive control. It runs into problems if the child function is in a pipeline, etc. but maybe this is good enough for your use case. |
Beta Was this translation helpful? Give feedback.
-
There's |
Beta Was this translation helpful? Give feedback.
The only thing approximating non-local control flow is signal handling. This "sort of" works:
and will restore interactive control. It runs into problems if the child function is in a pipeline, etc. but maybe this is good enough for your use case.