Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lib/iex/lib/iex/cli.ex
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ defmodule IEx.CLI do
if tty_works?() do
:user_drv.start([:"tty_sl -c -e", tty_args()])
else
if get_remsh(:init.get_plain_arguments()) do
IO.puts(
:stderr,
"warning: the --remsh option will be ignored because IEx is running on limited shell"
)
end

:application.set_env(:stdlib, :shell_prompt_func, {__MODULE__, :prompt})
:user.start()
local_start()
Expand Down