title: How to stop the process started from python gui?
body: <p>I created a simple gui tool in python which has a button which starts some process by calling my python module in background.</p>
  
  <p>I want to stop the process if a condition not satisfied and want to popup an error msg.</p>
  
  <p>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?</p>
  
  <p><strong>For info</strong> : I am using PysimpleGUI to create gui.</p>