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 Feb 11, 2019
1 parent ecd97c2 commit a30ce79
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 a30ce79

Please sign in to comment.