Flutter Engine
The Flutter Engine
|
Functions | |
def | run_command (args) |
def | find_path_to_program (program) |
def tools.find_run_binary.find_path_to_program | ( | program | ) |
Returns path to an existing program binary. Args: program: Basename of the program to find (e.g., 'render_pictures'). Returns: Absolute path to the program binary, as a string. Raises: Exception: unable to find the program binary.
Definition at line 36 of file find_run_binary.py.
def tools.find_run_binary.run_command | ( | args | ) |
Runs a program from the command line and returns stdout. Args: args: Command line to run, as a list of string parameters. args[0] is the binary to run. Returns: stdout from the program, as a single string. Raises: Exception: the program exited with a nonzero return code.
Definition at line 14 of file find_run_binary.py.