[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: versus cmd.exe

From: Kai Großjohann
Subject: Re: versus cmd.exe
Date: Thu, 12 Sep 2002 15:55:10 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

lawrence mitchell <address@hidden> writes:

> 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.

That looks like a good idea.

~/.signature is: umop 3p!sdn    (Frank Nobis)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]