Thank you for the proposal. We didn't add this on purpose. Ctrl+C is the
correct way to stop a remote shell. If you run `q()` on a remote node, it
will stop the remote node, bringing production down. If that's what you
want, type System.stop. :)


*José Valimhttps://dashbit.co/ <https://dashbit.co/>*


On Fri, Jan 16, 2026 at 12:21 PM Benjamin Philip <
[email protected]> wrote:

> Hi,
>
> Currently the common way to exit iex is C-c C-c (Ctrl + c Ctrl + c). erl
> on the otherhand supports the q() helper, short for init:stop():
>
> Erlang/OTP 28 [erts-16.0.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] 
> [async-threads:1] [jit:ns]
> Eshell V16.0.2 (press Ctrl+G to abort, type help(). for help)
> 1> q().
> ok
> 2> %
>
> It would be great if we could introduce the same helper to iex.
>
> – bp
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/elixir-lang-core/CAMEXYWerue9T_inV-fmmxx4Kpi%3Dj-pFAC9yXujbu3SS7HXaNfA%40mail.gmail.com
> <https://groups.google.com/d/msgid/elixir-lang-core/CAMEXYWerue9T_inV-fmmxx4Kpi%3Dj-pFAC9yXujbu3SS7HXaNfA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4J9SyPZjLS8wS-4Tr%3DCG85s1pZ7mMZz3RQTwxLcx7xKtA%40mail.gmail.com.

Reply via email to