Subject: Re: [Bug] M-x setenv PID + bash -> M-x shell breaks
From: [email-masked] (Andrew Innes)

18 Dec 1997 05:02:21 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
To: [email-masked]
Cc: [email-masked], [email-masked]

On 17 Dec 1997 17:22:44 -0500, Paul Stodghill <[email-masked]> said:
>Setting the environment variable "PID" causes shell commands to break when
>bash is the shell that emacs invokes.
>
>Using NTEmacs 19.34.6 and Cygnus gnu-win32 tools "b18", do the following.
>
>1. start emacs
>
>   c:\> runemacs -q
>
>2. Evaluate the following in the *scratch* buffer
>
>   (setq shell-file-name "bash")
>   (setq explicit-shell-file-name shell-file-name)
>   (setenv "PID" 100)
>
>3. Invoke M-x shell. Boom.
>
>4. Evalute the following in the *scratch* buffer
>
>   (setenv "PID" nil)
>
>5. Invoke M-x shell. It works!
>
>Why this happens, I have no idea. I'm not even sure if its an emacs or bash
>bug...

It is presumably a bug in bash.  Emacs doesn't care about PID.

AndrewI

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".