Build the final Python command list passed to subprocess.
(python_executable: str, script_name: str, payload: dict[str, Any])
| 190 | |
| 191 | |
| 192 | def build_python_command(python_executable: str, script_name: str, payload: dict[str, Any]) -> list[str]: |
| 193 | """ |
| 194 | Build the final Python command list passed to subprocess. |
| 195 | """ |
| 196 | return [python_executable or sys.executable, script_name, *dict_to_cli_args(payload)] |
no test coverage detected