Fix file descriptor leak

This commit is contained in:
Jack Nagel 2014-09-08 19:50:32 -05:00
parent 9321873eef
commit 6a3a370603

View File

@ -179,6 +179,7 @@ class Test
rd.close
STDERR.reopen("/dev/null")
STDOUT.reopen(wr)
wr.close
Dir.chdir @repository
exec("git", *args)
end