This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Calling Cygwin to start a shellscript


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]