Search code examples
windows-10stdingit-basheof

How to inject EOF for stdin on Git bash on windows 10?


I have tried the following keys: Ctrl+D, Ctrl+C, and Ctrl+Z. The programming I am running on bash doesn't stop unless EOF is reached.


Solution

  • Following worked for me:

    Ctrl+Z, and then press Enter.