My advice would be not to use (crappy) MS stuff whenever possible and stick to the cygwin shells. "lawrence mitchell" a écrit dans le message de news: wkwuprxt1e.fsf@ID-97657.usr.dfncis.de... > Kai Grossjohann wrote: > > [...] > > > Ah, I didn't know about COMSPEC. I now use the following code to > > initialize the variable: > > > (if (memq system-type '(windows-nt)) > > (getenv "COMSPEC") > > "/bin/sh") > > How about (or (getenv "COMSPEC") "/bin/sh") ? Though I suppose > somebody might have defined an environment variable named COMSPEC > themselves. > > > Are there other values of system-type that I should check for? > > DOS and maybe (probably?) Cygwin I'd guess. What about OS/2?[1] > > [1] Someone help me! > -- > lawrence mitchell