Just to know: who wrote this module? On my system it simply does not works... I don't understand why you do not use the Console API. There are specific reasons for why _win32stdio should be attached at something else that is not a Console Handle? Thanks and regards Manlio Perillo