Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use python3 for zap_cluster_list.py (#7589)
Unfortunately python is still python2 on some systems and this becomes the default python interpreter for exec_script(). If we run zap_cluster_list.py with python2, it's a parse error due to use of python 3 only optional typing syntax. If we instead execute the script via gn_run_binary.py, the shebang line (#!/usr/bin/env python3) in the script will be respected. This is more likely to work until python2 is dead everywhere, so do that. Tested by building as a subproject of a project that uses the default script_executable in GN on a system with /usr/bin/python as python2.
- Loading branch information