Search code examples
bashdoswine

Automatically "Press Enter to Exit" in bash?


In a bash script, I'm using wine to call a DOS program that requires me to "Press Enter to exit". How do I do that automatically and continue with the rest of the script?


Solution

  • echo | wine dosprogram.exe