[Distutils] small improvement of the script functionality under win32

Phillip J. Eby pje at telecommunity.com
Thu Mar 31 00:37:54 CEST 2005

At 01:52 PM 3/30/05 -0800, Trent Mick wrote:
>[Bob Ippolito wrote]
> > Also important to consider: what happens to COMSPEC when you're using a
> > cygwin shell?  Will a cygwin shell run .cmd files?
> >
> > (I don't really use Windows anymore...)
>I don't know. Trying...
>Under the cygwin bash shell there *is* a TERM=cygwin environment
>variable that, I suppose, could be checked. I don't use the cygwin bash
>shell at all (and I don't think that people should, for various reasons
>including http://trentm.com/blog/?p=10). You *can* run .bat files (and I
>presume .cmd files as well) under Cygwin bash, but you have the specify
>the extension: i.e. the PATHEXT stuff doesn't work.

Also, Cygwin under 98 won't execute .cmd files, or at least I couldn't get 
it to.

More information about the Distutils-SIG mailing list