|--==> "SJT" == Stephen J Turnbull <stephen(a)xemacs.org> writes:
SJT> Deleting XEmacs patches from the discussion.
>>>>>"SY" == Steve Youngs
<youngs(a)xemacs.org> writes:
SY> So I'll say it again. This works fine, but what happens if
SY> the user has set 'shell-file-name' and/or
SY> 'shell-command-switch' to something other than the default?
SJT> That's the user's problem, of course. We should make sure that
SJT> defaults for 'shell-file-name' and 'shell-command-switch' are
sensible
SJT> on each platform (ie, "/bin/sh" and "-c" resp on Unix). On
my Linux
SJT> box it's "/bin/bash" which I guess is harmless (although it
encourages
SJT> people to use bash-isms in generic code).
Yeah, I think on a lot of GNU/Linux systems '/bin/sh' is a symlink to
'/bin/bash' (it is on a Slackware system).
SJT> The docstring should warn the user that use of non-default values can
SJT> cause problems,
Adrian, do that and I'll promote your patch to "APPROVE".
Good idea, Steve T, I should have thought of that. :-)
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|