def fork(func, *argv): return mock_fork(func, *argv)
def run(line): l_split = line.split() cmd = l_split[0] main = __import__("bin." + cmd, fromlist=["main"]).main mock_fork(main, len(l_split), l_split)