[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it handle non-UTF8 filenames on Unix-like systems? #15

Open
vi opened this issue Oct 13, 2021 · 2 comments
Open

Does it handle non-UTF8 filenames on Unix-like systems? #15

vi opened this issue Oct 13, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request large feature New large feature that may take a while to add

Comments

@vi
Copy link
vi commented Oct 13, 2021

Can it be used, for example, to pass entire command line array to a subprocess unmodified without restrictions, like xargs?
Does it start from std::env::args (simpler, but makes this task impossible) or from std::env::args_os (proper way, but tricky)?

@Owez Owez self-assigned this Oct 13, 2021
@Owez Owez added enhancement New feature or request large feature New large feature that may take a while to add labels Oct 13, 2021
@Owez
Copy link
Owner
Owez commented Oct 13, 2021

Currently the launch method uses std::env::args but i will consider transitioning into args_os as nothing too complex is done to strings other than strip_prefix

@vi
Copy link
Author
vi commented Oct 14, 2021

nothing too complex is done to strings other than strip_prefix

It can still be somewhat tricky. You may want to review lexopt for how it's done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request large feature New large feature that may take a while to add
Projects
None yet
Development

No branches or pull requests

2 participants