Skip to content

Commit

Permalink
fix: drop the 'b' argument in popen for Windows compatibility
Browse files Browse the repository at this point in the history
Closes #839.
  • Loading branch information
hishamhm committed Dec 31, 2024
1 parent 0110da7 commit 5da9b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tl
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ local function cd()
end
local wd = os.getenv("PWD")
if not wd then
local pd = io.popen("cd", "rb")
local pd = io.popen("cd", "r")
wd = pd:read("*l")
pd:close()
end
Expand Down

0 comments on commit 5da9b91

Please sign in to comment.