I have a batch script that I use to launch a program, such as notepad.exe. When I double click on this batch file, notepad starts normally, but the black window
notepad.exe
Try to start path\to\cygwin\bin\bash.exe
path\to\cygwin\bin\bash.exe