mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-24 06:24:19 +02:00
docs(utils): doubt about Command::output encoding on Windows
This commit is contained in:
parent
d10e4dcc3a
commit
b8abd7d27a
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ pub fn open_url(dir: PathBuf) {
|
|||
match Command::new(opener).arg(dir).output() {
|
||||
Ok(o) => {
|
||||
if !o.status.success() {
|
||||
// does Windows print UTF-16?
|
||||
let stderr = String::from_utf8(o.stderr).unwrap().trim_end().to_string();
|
||||
error!("Can't open the following URL: {}", stderr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue