Re: Calling Cygwin from Dos - problem with sub program

2008-04-22 Thread nlian
> Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- View this message in context: http://www.nabble.com/Calling-Cygwin-from-Dos---problem-with-sub-program-tp16760067p16830823.html Sent from the Cygwin list mailing lis

Re: Calling Cygwin from Dos - problem with sub program

2008-04-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to nlian on 4/17/2008 9:58 PM: | Hi, | | I have a bash script (e.g. test.sh), and I have the following command | inside the script: | | #!/usr/bin/bash | export PROG_LIB="D:\batch\prod\prog\lib" Non-portable use of back-slashes. But more

Calling Cygwin from Dos - problem with sub program

2008-04-17 Thread nlian
ript, test.cmd: @echo off D: chdir D:\cygwin\bin bash --login -c '/cygdrive/d/Batch/prod/prog/scripts/test.sh' Any idea what's missing / went wrong? Thanks, Lian -- View this message in context: http://www.nabble.com/Calling-Cygwin-from-Dos---problem-with-sub-program-tp16760067p16