If anyone is running a 'console application' from a script and successfully redirecting input to the application I'd like to hear about it. I have been trying to do it but without success.
I have a script which runs a 'console application' produced with Visual C++ v6. The script uses 'here-documents' to provide input to the application. When the script is run the application is started from the script but then expects input from the user rather than taking it from the script. I get the same problem whether I use DJGPP bash or ftp.blarg.net tcsh . I'm frequently re-running the same application with various inputs so input from scripts would be a welcome change from typing everything in by hand. The only slightly unusual thing that the application does, is that the first read is got with getche(), the echo version of getch(). The OS is NT 4. Suggestions of things to try to get round the problem would be welcome too. Regards, Neil (J Mackie). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ GnuWin32-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gnuwin32-users