MCPcopy Create free account
hub / github.com/XiaoBin2001/Improved-GS / build_python_command

Function build_python_command

utils/batch_training/config.py:192–196  ·  view source on GitHub ↗

Build the final Python command list passed to subprocess.

(python_executable: str, script_name: str, payload: dict[str, Any])

Source from the content-addressed store, hash-verified

190
191
192def 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)]

Callers 1

run_single_configFunction · 0.90

Calls 1

dict_to_cli_argsFunction · 0.85

Tested by

no test coverage detected