Commit 534cbff9 authored by Jan Kiene's avatar Jan Kiene
Browse files

handle tmp files for netsimtrace correctly

parent 7f18a2a8
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -104,9 +104,13 @@ def postprocess_cmdline(cmdline: str, cwd: Path) -> str:
        if elem == "-q":
            continue
        elif (elem_as_path := Path(elem)).is_absolute():
            if elem_as_path.suffix == ".192" or (
            if (
                elem_as_path.suffix == ".192"
                or elem_as_path.suffix == ".netsimtrace"
                or (
                    elem_as_path.suffix == ".wav"
                    and cmdline_split.index(elem) == len(cmdline_split) - 1
                )
            ):
                cmdline_proc.append(elem_as_path.name)
            else: