From 5542ad9e9223d13e9ab3095d3243953fd8d0e1d0 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 7 Dec 2004 07:43:19 +0000 Subject: [PATCH] We should close stdin as well. --- scripts/supybot | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/supybot b/scripts/supybot index 82c6f1837..50662da0e 100755 --- a/scripts/supybot +++ b/scripts/supybot @@ -281,6 +281,7 @@ if __name__ == '__main__': sys.stdin.close() # Closing these two might cause problems; we log writes to them as # level WARNING on upkeep. + sys.stdin.close() sys.stdout.close() sys.stderr.close() sys.stdout = StringIO.StringIO()