Originally Posted by xombboxer
when I run it manually from the cygwin prompt runs perfectly , but i have to run this script from some other application. when I do so, shell is not exiting. ...
Sounds like it may need an "exit 0" somewhere...
1. The script. (sanitize IPs/Passwords/etc if necessary)
2. cygwin command you used to run it 'perfectly'
3. Line from 'other application' that calls The Script.
Edit: Don't forget [code][/code]!!! around "The Script".