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