Running shell scripts from Win NT (Ant)

Pierre Loic Herve pierloic@free.fr
Wed May 23 01:25:00 GMT 2001


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



More information about the Cygwin mailing list