def load_module(modname):
    last = modname.rfind('.')
    name = modname if last==(-1) else modname[:last]
    return __import__(modname, globals(), locals(), [name])
A thin wrapper around subprocess.Popen which ensures that all environment variables in the cmd are expanded at
dataset/ETHPy150Open michaelliao/transwarp/transwarp/utils.py/load_module--crossover with--dataset/ETHPy150Open box/ClusterRunner/app/util/process_utils.py/Popen_with_delayed_expansion