Skip to content

Commit

Permalink
red: ! run fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeping committed Sep 5, 2024
1 parent 037fedd commit 5da9134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lib/red/proc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ proc['!'] = function(w, pat)
end
os.execute(prog)
end)
p:write(pat:unesc(), w.cwd)
p:write(pat:unesc(), w.cwd or w:getcwd())
p:detach()
return true
end
Expand Down

0 comments on commit 5da9134

Please sign in to comment.