Lines Matching +full:stdout +full:- +full:path
2 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Copyright (c) 2017-2025 Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
57 if not max_len or len(cmd_line[-1]) + len(w) < max_len:
58 cmd_line[-1] += " " + w
61 cmd_line[-1] += " \\"
85 result = subprocess.run([cmd, "--version"],
86 stdout = subprocess.PIPE,
90 version = result.stdout.strip()
109 "python3.[0-9][0-9]",
110 "python3.[0-9]",
116 for path in os.getenv("PATH", "").split(":"):
118 for cmd in glob(os.path.join(path, pattern)):
119 if os.path.isfile(cmd) and os.access(cmd, os.X_OK):
131 for Sphinx build. If not, re-run with a newer version if found.
146 script_path = os.path.abspath(sys.argv[0])