[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #15718] Weird behavior of the SHELL variable on Win32
From: |
Paul D. Smith |
Subject: |
[bug #15718] Weird behavior of the SHELL variable on Win32 |
Date: |
Mon, 13 Feb 2006 15:42:34 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1 |
Follow-up Comment #9, bug #15718 (project make):
Just a note: changing SHELL _shouldn't_ be dangerous in the way you mention,
Eli. On UNIX, at any rate, if SHELL is not set to an acknowledged value for
a Bourne shell then make doesn't even try to use the fast path: all
invocations of commands are sent to the SHELL command via the slow path. So,
issues of quoting, etc. are not relevant: the whole thing is handed to the
shell regardless and whatever quoting rules apply there will be followed.
Note that, since you changed SHELL, it's obviously up to you to ensure that
your commands work properly! If that's not the case in Windows (and from
what you've written here it doesn't appear to be) then that's a bug.
The only real problem for changing the shell is the one I mentioned in
comment #3: there's no way to change the argument from "-c" to something else
(or nothing). So if the program you want to use for SHELL doesn't grok -c you
have to wrap it in something that does.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15718>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #15718] Weird behavior of the SHELL variable on Win32, Paul D. Smith, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Agent Zhang, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Doug Konrad, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Eli Zaretskii, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Eli Zaretskii, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Eli Zaretskii, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32,
Paul D. Smith <=
- [bug #15718] Weird behavior of the SHELL variable on Win32, Eli Zaretskii, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Paul D. Smith, 2006/02/13