

def python_exit_code(*args):
    cmd_line = [sys.executable, '-E']
    cmd_line.extend(args)
    with open(os.devnull, 'w') as devnull:
        return subprocess.call(cmd_line, stdout=devnull, stderr=subprocess.STDOUT)

dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/script_helper.py python_exit_code/original