This is the mail archive of the
mailing list for the Cygwin project.
Simple cygwin script doesn't work with Windows schedular/Command prompt
- From: "Pandey, Sunil K" <sunil dot k dot pandey at intel dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 15 Nov 2005 17:58:11 -0800
- Subject: Simple cygwin script doesn't work with Windows schedular/Command prompt
I have a very simple shell script say test.csh
set x = "Some name"
echo $x > /tmp/xyz
When I ran this script in cygwin shell it works fine.
However when I try to launch the same script with windows scheduler via
following command line it doesn't work.
Scheduler command line
C:\cygwin\bin\bash.exe -l -e /tmp/test.csh
I also tried above command on Windows command prompt still doesn't work.
It creates a blank xyz file. Most probably set command is not working.
Not sure how to fix this script. Any help/hack will be much-much
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html