Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix make_command_line to handle Unicode correctly
Previously, make_command_line iterates over each u8 in the string and then appends them as chars, so any non-ASCII string will get horribly mangled by this function. This fix should allow Unicode arguments to work correctly in native::io::process::spawn.
- Loading branch information
1 parent
e12aeb3
commit b6cce7e
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters