elixir-lang/elixir — pull request #1798 by fishcakez (2013-10-22 19:44:23+00:00)
Title: Fix type of executable passed to Port.open in IEx.CLI.tty_works/0

It should be `Port.open({:spawn, charlist}, ...)` not `Port.open({:spawn, atom}, ...)`. Found by the following dialyzer warning from #1569:

```
lib/iex/lib/iex/cli.ex:68: The call 'Elixir.Port':open({'spawn', 'tty_sl -c -e'},['eof',...]) will never return since it differs in the 1st argument from the success typing arguments: ({'spawn',string()} | {'spawn_driver',[byte()]} | {'spawn_executable',atom() | [atom() | [any()] | char()]} | {'fd',non_neg_integer(),non_neg_integer()},['binary' | 'eof' | 'exit_status' | 'hide' | 'in' | 'nouse_stdio' | 'out' | 'stderr_to_stdout' | 'stream' | 'use_stdio' | {'arg0' | 'args' | 'cd' | 'env' | 'line' | 'packet' | 'parallelism',boolean() | binary() | [binary() | [any()] | char() | {_,_}] | non_neg_integer()}])
```