Skip to content

Commit

Permalink
Fix issue #28624 (#28635)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2715fb2)
  • Loading branch information
favba authored and KristofferC committed Sep 8, 2018
1 parent 2c13a55 commit f1d9da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function repl_cmd(cmd, out)
# If it's intended to simulate `cd`, it should instead be doing
# more nearly `cd $dir && printf %s \$PWD` (with appropriate quoting),
# since shell `cd` does more than just `echo` the result.
dir = read(`$shell -c "printf %s $(shell_escape_posixly(dir))"`, String)
dir = read(`$shell -c "printf '%s' $(shell_escape_posixly(dir))"`, String)
end
cd(dir)
end
Expand Down

0 comments on commit f1d9da5

Please sign in to comment.