parameters: (self)
docstring: Kills the QProcess
docstring_summary: Kills the QProcess
docstring_tokens: Kills the QProcess
function: def kill(self):
          """
          Kills the QProcess
          """
          self.killed = True
          mooseutils.mooseMessage("Killing")
          self.process.terminate()
          self.process.waitForFinished(1000)
          if self.isRunning():
              mooseutils.mooseMessage("Failed to terminate job cleanly. Doing a hard kill.")
              self.process.kill()
              self.process.waitForFinished()
function_tokens: def kill ( self ) : self . killed = True mooseutils . mooseMessage ( "Killing" ) self . process . terminate ( ) self . process . waitForFinished ( 1000 ) if self . isRunning ( ) : mooseutils . mooseMessage ( "Failed to terminate job cleanly. Doing a hard kill." ) self . process . kill ( ) self . process . waitForFinished ( )