Skip to content

Commit d9a0049

Browse files
authored
Remove -i flag being passed to bash for shell mode commands (#25006)
Fixes #24736 Fixes #17332
1 parent 5003f12 commit d9a0049

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

base/client.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ function repl_cmd(cmd, out)
129129
else
130130
shell_escape_cmd = "($(shell_escape_posixly(cmd))) && true"
131131
end
132-
cmd = `$shell`
133-
isa(STDIN, TTY) && (cmd = `$cmd -i`)
134-
cmd = `$cmd -c $shell_escape_cmd`
132+
cmd = `$shell -c $shell_escape_cmd`
135133
end
136134
run(ignorestatus(cmd))
137135
end

0 commit comments

Comments
 (0)