This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Calling Cygwin to start a shellscript
- From: Brian Mathis <brian dot mathis at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 15 May 2009 18:51:22 -0400
- Subject: Re: Calling Cygwin to start a shellscript
- References: <gukn6n$afs$1@ger.gmane.org>
On Fri, May 15, 2009 at 5:35 PM, Thomas Wiedmann <th.wm@gmx.de> wrote:
> Hello,
>
> How can a shellscript be called from the Windows cmd console using Cygwin,
> i. e. by which command, options and arguments has Cygwin to be called to run
> a shellscript, e. g. myscript.sh?
>
> Thomas Wiedmann
What I have done is associate files with a .sh extension to run the
bash.exe file. Works for me, but I'm not sure if it pulls in all the
environment variables - but I don't need them.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/