def execute_cmdline(lst, output):
    proc = subprocess.Popen(lst, shell=True, stdin=subprocess.PIPE,
                            stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
    proc.wait()
    if proc.stdout:
        output.extend(proc.stdout.readlines())
    return proc.returncode
execute_cmdline(lst: list of str)-> int Builds a command line
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/system/windows.py/execute_cmdline