Issue 1413378: Popenhangs with latest Cygwin update (original) (raw)
Today's update of my Cygwin installation caused a long running Python/Tkinter application to fail to start. Further investigation shows it hanging on a simple popen call. The problem seems associated with importing Tkinter:
#! /usr/bin/python
from Tkinter import * from os import popen
print "Here" #grab a calander in case we need it calpipe = popen("/usr/bin/cal -3") caltext = calpipe.read(1000) calpipe.close() print "There"
print caltext
prints "Here" and hangs. Windows task manager shows sh.exe and a copy of Python2.4.exe sharing most of the CPU time. If
If I comment out the from Tkinter line, everthing works fine.
Cygcheck info attached