HomePhabricator

utils: run commands using utf-8 string on Windows

Authored by Chun Kuan Lee <ken2812221@gmail.com> on Aug 6 2018, 01:03.

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

Committed
FabienJun 9 2019, 15:37
Pushed
FabienJun 9 2019, 15:37
Reviewer
Restricted Project
Differential Revision
D3272: utils: run commands using utf-8 string on Windows
Parents
rABC5b2a94af2a90: Merge #10560: Remove unused constants
Branches
Unknown
Tags
Unknown