From: Eli Zaretskii <eliz@gnu.org>
To: Christoph Scholtes <cschol2112@googlemail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Shell invoked via shell-file-name
Date: Sat, 09 Apr 2011 19:21:45 +0300 [thread overview]
Message-ID: <8339lrtmxy.fsf@gnu.org> (raw)
In-Reply-To: <86lizkqez2.fsf@gmail.com>
> From: Christoph Scholtes <cschol2112@googlemail.com>
> Date: Fri, 08 Apr 2011 21:29:53 -0600
>
> Is there a way to invoke a shell via `shell-file-name' with additional
> command line parameters?
I don't know. Did you try setting shell-command-switch to "-lc"?
> I am trying to use cygwin for certain things on a Windows system, for
> example mercurial, ruby or ack.
Why are trying this with Cygwin? There are native Windows ports of
Mercurial and Perl. AFAIK, the Windows port of Mercurial comes with
hg.exe, produced by Py2exe.
> 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
Perhaps we could teach cmdproxy about the shebang syntax of Unix
scripts. The Windows port of Make already knows about that.
next prev parent reply other threads:[~2011-04-09 16:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-09 3:29 Shell invoked via shell-file-name Christoph Scholtes
2011-04-09 16:21 ` Eli Zaretskii [this message]
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=8339lrtmxy.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=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.