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?
Currently
OsStr
andOsString
are not accepted as the app parameter ofwith
,with_command
,with_detached
, andwith_in_background
. This does not make sense to me becauseOsStr
should be suitable for interacting with the OS.I can see that changing
app: impl Into<String>
toapp: impl AsRef<OsStr>
orapp: impl Into<OsString>
is a breaking change. Is there a way to overcome this?