On 21/01/2010 1:57 AM, Olof Rutgersson wrote:

The invalid handle error seems to be related to the fact that I'm not launching 
python.exe from a console but from another process, can it be related to issue 
1124861 (http://bugs.python.org/issue1124861)? Do I need to create different 
stdin and stdout or spawn the child process in any other way from wexpect? Are 
there any other ways of solving this problem?

The error is because there is no console, but wexpect is attempting to use one. The solution is to fix the code that assumes a console always exists - it doesn't. I think you need to talk to the wexpect guys and see if either (a) you are misusing wexpect or (b) it is a bug in wexpect.

Cheers,

Mark
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to