Eclipse project waits for return value and hangs.
I am trying to develop a Eclipse GUI project. The idea is that when I execute the project and click on some button it must run a batch file.
However, current scenario is that after executing the project and clicking on the button in GUI I need to click the Eclipse Console terminate button(Red button) in order for the batch file to get executed.
What I understand is that my eclipse project is starting a process (main method) which calls the bat file. The bat file is starting its own process but Eclipse project is waiting for some sort of return value which never comes causing it to hang.
Can anyone please tell me how to resolve this issue?