Skip to content

Commit

Permalink
Convert PosixPath to str before .join. Fixes #2669 (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch authored Apr 9, 2024
1 parent c7348d3 commit 9c5f4f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fprime_gds/executables/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ def run_wrapped_application(arguments, logfile=None, env=None, launch_time=None)
)
return child
except Exception as exc:
msg = f"Failed to run application: {' '.join(arguments)}. Error: {exc}"
raise AppWrapperException(msg)
argument_strings = [str(argument) for argument in arguments]
message = f"Failed to run application: {' '.join(argument_strings)}. Error: {exc}"
raise AppWrapperException(message)


def find_settings(path: Path) -> Path:
Expand Down

0 comments on commit 9c5f4f5

Please sign in to comment.