1. at first we have a script say test.sh
2. to call it we need a bash shell environment in windows, say cygwin
3. then run below command:
C:\XXXX\Cygwin\bin\bash --login "/cygdrive/e/scripts/test.sh"
that's it.
标签:shell,script,say,call,test,command,bash From: https://blog.51cto.com/u_6174294/6207192