File indexing completed on 2026-04-10 08:39:00
0001 import multiprocessing
0002
0003 from pandajedi.jedicore.JediTaskBufferInterface import JediTaskBufferInterface
0004 from pandajedi.jediddm.DDMInterface import DDMInterface
0005 from pandajedi.jediorder import TaskCommando
0006
0007 tbIF = JediTaskBufferInterface()
0008 tbIF.setupInterface()
0009
0010
0011 ddmIF = DDMInterface()
0012 ddmIF.setupInterface()
0013
0014
0015 parent_conn, child_conn = multiprocessing.Pipe()
0016
0017 try:
0018 testVO = sys.argv[1]
0019 except Exception:
0020 testVO = "any"
0021
0022 try:
0023 testTaskType = sys.argv[2]
0024 except Exception:
0025 testTaskType = "any"
0026
0027 taskCommando = multiprocessing.Process(target=TaskCommando.launcher, args=(child_conn, tbIF, ddmIF, testVO, testTaskType))
0028 taskCommando.start()