Kaynağa Gözat

wxGUI: attempt to fix aborting command

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52081 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 13 yıl önce
ebeveyn
işleme
8ed3243079
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      gui/wxpython/core/gcmd.py

+ 1 - 1
gui/wxpython/core/gcmd.py

@@ -575,7 +575,7 @@ class CommandThread(Thread):
         # wait for the process to end, sucking in stuff until it does end
         while self.module.poll() is None:
             if self._want_abort: # abort running process
-                self.module.kill()
+                self.module.terminate()
                 self.aborted = True
                 return 
             if self.stdout: