repl_command should not use bash -i (interactive) unless STDIN is a TTY (fix JuliaLang/IJulia.jl#120)