[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-command parameters
From: |
Barry Margolin |
Subject: |
Re: shell-command parameters |
Date: |
Thu, 08 Jan 2009 00:50:54 -0500 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article
<dd6000ea-5ab7-411c-966d-a715f68c94c9@d42g2000prb.googlegroups.com>,
rustom <rustompmody@gmail.com> wrote:
> On Jan 6, 7:29 pm, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
> > rustom wrote:
> > > But I still wonder what shell is running in windows emacs?
> >
> > ,----[ C-h v shell-file-name RET ]
> > | shell-file-name is a variable defined in `src/callproc.c'.
> > | Its value is "/bin/bash"
>
>
> Thanks. Thats the variable I was looking for.
> It turns out to be /path/to/emacs/bin/cmdproxy.exe
> Changing it to c:/cygwin/bin/bash.exe makes it work as expected (by a
> unix user)
>
> I wonder does emacs go out of its way to make life difficult for a
> windows user? MS does a good job of this without help from emacs :-)
> I mean 'cmd' has one expected behavior; shell has another. Why make
> the 'shell' variable point to a cmd imitation?
I think the expectation is that shell-command should behave similarly to
typing the command in the system's normal command line interface. Why
would a Windows user expect Unix-like behavior?
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
- Re: shell-command parameters, (continued)
- Re: shell-command parameters, Chetan, 2009/01/05
- Re: shell-command parameters, Peter Dyballa, 2009/01/05
- Re: shell-command parameters, Eli Zaretskii, 2009/01/05
- Message not available
- Re: shell-command parameters, Chetan, 2009/01/05
- Re: shell-command parameters, Eli Zaretskii, 2009/01/05
- Message not available
- Re: shell-command parameters, rustom, 2009/01/06
- Re: shell-command parameters, Kevin Rodgers, 2009/01/06
- Message not available
- Re: shell-command parameters, rustom, 2009/01/06
- Re: shell-command parameters, Andreas Politz, 2009/01/06
- Re: shell-command parameters, Eli Zaretskii, 2009/01/06
- Re: shell-command parameters,
Barry Margolin <=