[Twisted-Python] win32all and spawnProcess

Hello , twisted/internet/defaults.py contains the function spawnProcess This function doesn't seem to work on windows, and contains the following comment # This is possible, just needs work - talk to itamar if you want this. Who is Itamar ? Thanks in advance, Maarten def spawnProcess(self, processProtocol, executable, args=(), env={}, path=None, uid=None, gid=None, usePTY = 0): p = platform.getType() if p == 'posix': if usePTY: return process.PTYProcess(self, executable, args, env, path, processProtocol, uid, gid, usePTY) else: return process.Process(self, executable, args, env, path, processProtocol, uid, gid) #elif p == "win32": # if win32process: # threadable.init(1) # import win32eventreactor # return win32eventreactor.Process(self, processProtocol, executable, args, env, path) # else: # raise NotImplementedError, "process not available since win32all is not installed" else: raise NotImplementedError, "process only available in this reactor on POSIX" This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization.

On Thu, 24 Apr 2003 17:43:47 +0200 VAN DER HEIJDEN Maarten <mvanderheijden@fininfo.fr> wrote:
You can use spawnProcess on windows by using the win32 reactor, see the Choosing Reactors howto for instructions. -- Itamar Shtull-Trauring http://itamarst.org/ http://www.zoteca.com -- Python & Twisted consulting

On Thu, 24 Apr 2003 17:43:47 +0200 VAN DER HEIJDEN Maarten <mvanderheijden@fininfo.fr> wrote:
You can use spawnProcess on windows by using the win32 reactor, see the Choosing Reactors howto for instructions. -- Itamar Shtull-Trauring http://itamarst.org/ http://www.zoteca.com -- Python & Twisted consulting
participants (2)
-
Itamar Shtull-Trauring
-
VAN DER HEIJDEN Maarten