<s> '''<STR_LIT>''' <EOL> from . import subprocess_helper as subp <EOL> import logging <EOL> logger = logging . getLogger ( __name__ ) <EOL> logger . setLevel ( logging . DEBUG ) <EOL> class ProcessKiller : <EOL> def __init__ ( self , script , killprocname , killproctimeout ) : <EOL> self . script = script <EOL> self . killprocname = killprocname <EOL> self . killproctimeout = killproctimeout <EOL> def _get_cmdline ( self ) : <EOL> template = "<STR_LIT>" <EOL> return template % ( self . script , self . killprocname , self . killproctimeout ) <EOL> def go ( self ) : <EOL> '''<STR_LIT>''' <EOL> command = self . _get_cmdline ( ) <EOL> logger . debug ( '<STR_LIT>' , command ) <EOL> subp . run_without_timer ( command ) </s>
