Skip to content

with does not accept OsStr #102

Description

@ccyuen1

Currently OsStr and OsString are not accepted as the app parameter of with, with_command, with_detached, and with_in_background. This does not make sense to me because OsStr should be suitable for interacting with the OS.

I can see that changing app: impl Into<String> to app: impl AsRef<OsStr> or app: impl Into<OsString> is a breaking change. Is there a way to overcome this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions