# HG changeset patch # User Meredith Howard # Date 1554302355 18000 # Node ID fadb5356ae6599f18e8659552579a0b6921601b0 # Parent bdbfa576e84fbf305af99b70f0014895907e3c24 Need to reopen the pipes actually diff --git a/bin/git-ctags b/bin/git-ctags --- a/bin/git-ctags +++ b/bin/git-ctags @@ -26,7 +26,7 @@ opts = File.exists?(conf) ? "--options if running_hook fork and exit - [STDIN, STDOUT, STDERR].each(&:close) + [STDIN, STDOUT, STDERR].each {|p| p.reopen '/dev/null'} sleep 5 end