  from .utils import get_config, get_images
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class ProcessWrapper():
      """ Builds command, launches and terminates the underlying
          faceswap process. Updates GUI display depending on state """
 
</s> remove from subprocess import PIPE, Popen, TimeoutExpired
 </s> add from subprocess import PIPE, Popen </s> remove         if self.is_gui:
 </s> add         if self.is_gui and os.name != "nt": </s> remove         if self.is_gui:
 </s> add         if self.is_gui and os.name != "nt":
if os.name == "nt":
    import win32console


  from .utils import get_config, get_images
  
if os.name == "nt":
    import win32console


  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class ProcessWrapper():
      """ Builds command, launches and terminates the underlying
          faceswap process. Updates GUI display depending on state """
keep add keep keep keep keep keep keep
 Fix Timeout issue when terminating training on Windows 
lib/gui/wrapper.py