I created a simple gui tool in python which has a button which starts some process by calling my python module in background.
I want to stop the process if a condition not satisfied and want to popup an error msg.
I am not able to find a way to stop the process once it is started from button. How can i do this without closing the GUI?
For info : I am using PysimpleGUI to create gui.