

def do_script(this_script, python_exe=None, copy_to=None, architecture=None, verbose=False, install_options=None):
    'Execute a script (get-pip typically)'
    if (python_exe is None):
        python_exe = sys.executable
    myroot = os.path.dirname(python_exe)
    cmd = [python_exe]
    if install_options:
        cmd += p
        print('script install_options', install_options)
    if this_script:
        cmd += [this_script]
    print('Executing ', cmd)
    if verbose:
        subprocess.call(cmd, cwd=myroot)
    else:
        p = subprocess.Popen(cmd, cwd=myroot, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
        p.communicate()
        p.stdout.close()
        p.stderr.close()
    if verbose:
        print(('Executed ' % cmd))
    return 'ok'

dataset/ETHPy150Open winpython/winpython/winpython/utils.py do_script/VarMisuse@72/108 `install_options`->`p`