From 25649be95b81cab3423b12892b4707760c2674aa Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Sat, 9 Dec 2017 12:16:11 -0800 Subject: [PATCH] Remove `-i` flag being passed to `bash` for shell mode commands Fixes https://github.com/JuliaLang/julia/issues/24736 Fixes https://github.com/JuliaLang/julia/issues/17332 --- base/client.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base/client.jl b/base/client.jl index df6f5df0c9d3d..0aff79a82cc3d 100644 --- a/base/client.jl +++ b/base/client.jl @@ -129,9 +129,7 @@ function repl_cmd(cmd, out) else shell_escape_cmd = "($(shell_escape_posixly(cmd))) && true" end - cmd = `$shell` - isa(STDIN, TTY) && (cmd = `$cmd -i`) - cmd = `$cmd -c $shell_escape_cmd` + cmd = `$shell -c $shell_escape_cmd` end run(ignorestatus(cmd)) end