Commits

Ali Gholami Rudi  committed 746820a

doa: ignoring kill_process() if already terminated

  • Participants
  • Parent commits d223242

Comments (0)

Files changed (1)

File rope/base/oi/doa.py

 
     def kill_process(self):
         """Stop the process"""
+        if self.process.returncode is not None:
+            return
         try:
             if hasattr(self.process, 'terminate'):
                 self.process.terminate()