Wouldn't it make more sense for you to use the exposed windows API using the Python win32 module rather than calling an external program via os.popen? I googled a little and found http://msdn.microsoft.com/en-us/library/aa376868(VS.85).aspx which should be callable. I also found http://mail.python.org/pipermail/python-win32/2008-December/008474.htmlwhich mentions that setting the appropriate privileges is a pain and recommends using another module which is linked to.
-- ~noufal http://nibrahim.net.in _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers