[python-win32] win32console attach problems

Tim Roberts timr at probo.com
Fri Oct 3 21:46:06 CEST 2008


Stian wrote:
>
>
> I'm experiencing concurring problems when attempting to attach to a
> console using the PyWin32 win32console. I have an application which
> may attach to a console, send ctrl+c to it and then detach - using
> win32console. If I do this "too soon" after the console is started the
> AttachConsole fails, throwing an exception. Fair enough. My issue is
> that after one such a failing attempt all following AttachConsole
> attempts will fail the same way.

What error do you get?  MSDN describes several different error returns.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list