Using popen in windows
billtut at microsoft.com
Thu Apr 20 17:40:19 CEST 2000
> From: Gordon McMillan [mailto:gmcm at hypernet.com]
> Robert Cragie
> > I tried this and it still hangs; cvs.exe is definitely not
> a built in:
> > from win32pipe import popen
> > p = popen('c:\\cygwin\\contrib\\bin\\cvs -v','r')
> > str = p.read()
> > print str
> > Again, the equivalent works fine on Linux.
> Works fine on NT, too. Bill Tutt put out something that works
> around the Win9x bug. Searching dejanews on popen and
> Win95 should find it.
Indeed, the 128 build of the Win32 extensions includes the fix (hack) for
Win9x for this cheesy and lame bug.
More information about the Python-list