Skip to content

add_process doesn't like being passed a path #364

Closed
@wk9874

Description

@wk9874

add_process can accept a path to a file to run, but if you try to pass in a PosixPath object instead of a string will result in this error:

  File "/home/dev/.pyenv/versions/3.10.13/lib/python3.10/site-packages/simvue/run.py", line 490, in add_process
    _cmd_list += [f"-{kwarg}{(' '+val) if val else ''}"]

Could this be fixed to also accept path objects?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions