   # to do it just once.
   defp tty_works? do
     try do
-      port = Port.open {:spawn, 'tty_sl -c -e'}, [:eof]
+      port = Port.open({:spawn, 'tty_sl -c -e'}, [:eof])
       Port.close(port)
     catch
       _, _ -> false

      IO.puts(:stderr, msg)
      System.halt(1)
    end
    {:erlang, :apply, [function, []]}
  end


  end

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

