Hi
I have created Windows form GUI that will run batch files in background (so batch files will actually run my application).It is working properly.
But
When batch files encounter pause command.... my GUI hangs....
How pause command i should handle while calling from GUI?
Will it possible if i write/press any key from GUI edit box it will give input to pause command?
or is there any other way to handle user input in batch file that will work fine using C sharp windows GUI...
Thanks
viva
Loading
Posted Jun 19, 2012, 11:20 AM
To prevent the GUI hang, you have to run the GUI application BAT file execution on different threads.
For this, you can use multithreading or Backgroundworker class.