run_odiff

run_odiff(*args: str, capture_output: bool = True) tuple[int, str, str][source]

Run odiff binary.

Parameters:
  • *args (str) – Arguments passed directly to the odiff executable.

  • capture_output (bool) – Whether to capture the output or not. The only place where False should be used is to invoke the executable as CLI tool so the user sees the output. Defaults to True

Returns:

Return code of running odiff and stdout.

Return type:

tuple[int, str, str]