[Bug] M-x setenv PID + bash -> M-x shell breaks
Andrew Innes
andrewi@harlequin.co.uk
Thu Dec 18 04:33:00 GMT 1997
On 17 Dec 1997 17:22:44 -0500, Paul Stodghill <stodghil@CS.Cornell.EDU> 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
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list