Commits

Anonymous committed 384960d

fixed bug in *nix async_sub.py for Popen.kill()

  • Participants
  • Parent commits 992c3c0

Comments (0)

Files changed (1)

     import win32api
     import msvcrt
 else:
+    import signal
     import select
     import fcntl
 
 
     else:
         def kill(self):
-            os.kill(self.pid)
+            os.kill(self.pid, signal.SIGTERM)
         
         def send(self, input):
             if not self.stdin: