[Python-Dev] test_popen broken on Win2K

logistix logi.stix@verizon.net
Sun, 9 Mar 2003 16:47:10 -0500

> -----Original Message-----
> From: python-dev-admin@python.org 
> [mailto:python-dev-admin@python.org] On Behalf Of Jeff Epler
> Sent: Saturday, March 08, 2003 9:39 AM
> To: Tim Peters
> Cc: PythonDev
> Subject: Re: [Python-Dev] test_popen broken on Win2K
> When I tackled this problem for a program of mine, I ended up 
> making sure that I always used the "short filename" form for 
> the program to be executed.  This way, there were no spaces 
> in the filename and no need to quote them.
> However, the function I used to do this comes from 
> win32<something>, so test_popen can't use it.  Nor can Python 
> fix this up for all users of
> os.popen()
> Jeff

Note that there's a policy/reghack that disables short filenames.  This
allegedly improves file IO by up to 25 % and is commonly recommended as
a performance enhancement for domains that only have W2K + servers and
clients.  It's also part of Microsoft's Server lockdown documentation.
I believe the official stance by Microsoft itself is that short
filenames are a legacy feature.