HomePhabricator

utils: run commands using utf-8 string on Windows

Description

utils: run commands using utf-8 string on Windows

Summary:

Use unicode string to call commans

Backport of core PR13886
https://github.com/bitcoin/bitcoin/pull/13886/files

Will fix gitian windows build issue introduced in D3241.

Test Plan:

make check

Build for windows:

mkdir buildcmake && cd buildcmake
cmake -GNinja .. -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Win64.cmake \
-DBUILD_BITCOIN_SEEDER=OFF
ninja

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D3272

Details

Provenance
Chun Kuan Lee <ken2812221@gmail.com>Authored on Aug 6 2018, 01:03
FabienCommitted on Jun 9 2019, 15:37
markblundebergPushed on Jun 9 2019, 22:33
Reviewer
Restricted Project
Differential Revision
D3272: utils: run commands using utf-8 string on Windows
Parents
rSTAGING5b2a94af2a90: Merge #10560: Remove unused constants
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/9276