20def cleanup(num, frame):
 
   21    os.kill(proc.pid, signal.SIGKILL)
 
   29signal.signal(signal.SIGINT, cleanup)
 
   30signal.signal(signal.SIGTERM, cleanup)
 
   42script = 
"processor.py" 
   45proc = subprocess.Popen(
"basf2 --no-stats " + script + 
" " + inputrb + 
" " + outputrb + 
" " + histport + 
" " + ncore, shell=
True)