Interesting...I found the expect executable on disk, double clicked it and it opened a window so I typed in my original expect program without expect -c and surrounding quotes. I then ran it and found the same errors. The GetConsoleMode() and SetConsoleMode() calls are not being allowed to exit the expect environment.
I'm not sure that the shim will work or not but I'll give it a shot. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple