   end
 
   def remote_start(parent, ref) do
-    send parent, {:begin, ref, self()}
+    send(parent, {:begin, ref, self()})
     receive do: ({:done, ^ref} -> :ok)
   end
 

    if tty_works?() do
      :user_drv.start([:"tty_sl -c -e", tty_args()])
    else
      :application.set_env(:stdlib, :shell_prompt_func,
                           {__MODULE__, :prompt})
      :user.start()
      local_start()
    end
  end
  def prompt(_n) do
    []
  end

  end

  defp tty_args do
    if remote = get_remsh(:init.get_plain_arguments()) do
      if Node.alive?() do
        case :rpc.call(remote, :code, :ensure_loaded, [IEx]) do
          {:badrpc, reason} ->
            abort(
              "Could not contact remote node #{remote}, reason: #{inspect(reason)}. Aborting..."
            )

          {:module, IEx} ->
            {mod, fun, args} = remote_start_mfa()
            {remote, mod, fun, args}

          _ ->
            abort("Could not find IEx on remote node #{remote}. Aborting...")
        end
      else
        abort(
          "In order to use --remsh, you need to name the current node using --name or --sname. Aborting..."
        )
      end
    else
      {:erlang, :apply, [local_start_function(), []]}
