Logo Search packages:      
Sourcecode: nagios-plugins version File versions

def utils::Task::Kill (   self,
  signal = signal.SIGTERM 
)

Send a signal to the running subprocess.
   optional arguments:
       signal=SIGTERM: number of the signal to send.
               (see os.kill)
   return value:
       see os.kill()

Definition at line 212 of file utils.py.

00212                                         :
        """Send a signal to the running subprocess.
           optional arguments:
               signal=SIGTERM: number of the signal to send.
                               (see os.kill)
           return value:
               see os.kill()
        """
        if self.status==None:
            # Only if it is not already finished
            return os.kill(self.pid,signal)

    def Done(self):


Generated by  Doxygen 1.6.0   Back to index