[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell invoked via shell-file-name

From: Eli Zaretskii
Subject: Re: Shell invoked via shell-file-name
Date: Sat, 09 Apr 2011 19:21:45 +0300

> From: Christoph Scholtes <address@hidden>
> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]