Using popen in windows

Bill Tutt billtut at microsoft.com
Thu Apr 20 11:40:19 EDT 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. 

Bill




More information about the Python-list mailing list