From: Christoph Scholtes <cschol2112@googlemail.com>
To: emacs-devel@gnu.org
Subject: Shell invoked via shell-file-name
Date: Fri, 08 Apr 2011 21:29:53 -0600 [thread overview]
Message-ID: <86lizkqez2.fsf@gmail.com> (raw)
Is there a way to invoke a shell via `shell-file-name' with additional
command line parameters?
I am trying to use cygwin for certain things on a Windows system, for
example mercurial, ruby or ack. Ruby works fine since there is an
executable (*.exe) that Emacs finds on the exec-path (or PATH) and
executes, but mercurial (hg) is just a Python script and ack just a Perl
script. They need the shell to invoke the correct interpreter.
I can call, for example, ack correctly from Windows cmd.exe like this:
C:\>cywgin\bin\bash -l -c ack
whereas
C:\>cygwin\bin\bash -c ack
does not work
cygwin/bin/bash: ack: command not found
`shell-command-switch' allows to specify the `-c' option, but there is
no way to specify the `-l' or `--login', is there?
Christoph
next reply other threads:[~2011-04-09 3:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-09 3:29 Christoph Scholtes [this message]
2011-04-09 16:21 ` Shell invoked via shell-file-name Eli Zaretskii
2011-04-11 3:29 ` Christoph Scholtes
2011-04-11 7:23 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86lizkqez2.fsf@gmail.com \
--to=cschol2112@googlemail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.