This is the mail archive of the cygwin@cygwin.com 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]

Re: Running shell scripts from Win NT (Ant)


Hi,

> To test that I can just run bash and a command on the command line I
tried:
>
> C:\>bash echo 'hello'
> echo: /usr/bin/echo: No such file or directory

Your example runs by doing it this way :

C:\>bash -c 'echo hello'
hello

C:\>

BUT why don't you launch your shell progs from a bash shell ? (cygwin
provides such a shell) :
//c/SourcesCVS> echo hello
hello
//c/SourcesCVS>

Bye.
--
Pierre Loic Herve



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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