wmii/alternative_wmiircs/python/wmiirc
Kris Maglione d4d8a6b891 Properly fix problem fixed in last commit. Cleanup some stuff in the process.
Update issue #132
Status: Fixed
This is a very strange issue. It turns out that subprocess
won't work from non-main threads while a module is being
imported. Since the wmiirc entered its event loop rather than
returning, it was causing problems. I suspect it was also the
cause of the stack traces being printed at interperater shutdown.
2009-10-17 21:52:29 -04:00

13 lines
218 B
Python
Executable File

#!/usr/bin/env python
import os, sys
path = []
for p in os.environ.get("WMII_CONFPATH", "").split(':'):
path += [p, p + '/python']
sys.path = path + sys.path
from pygmi import events
import wmiirc
events.loop()