Skip to content

Commit

Permalink
start monerod and monero-wallet-rpc from cmd in english
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed May 22, 2024
1 parent 0d028a0 commit d80db55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/monero/daemon/MoneroDaemonRpc.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public MoneroDaemonRpc(List<String> cmd) throws IOException {

// start process
ProcessBuilder pb = new ProcessBuilder(cmd);
pb.environment().put("LANG", "en_US.UTF-8"); // scrape output in english
pb.redirectErrorStream(true);
process = pb.start();

Expand Down
1 change: 1 addition & 0 deletions src/main/java/monero/wallet/MoneroWalletRpc.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public MoneroWalletRpc(List<String> cmd) throws IOException {

// start process
ProcessBuilder pb = new ProcessBuilder(cmd);
pb.environment().put("LANG", "en_US.UTF-8"); // scrape output in english
pb.redirectErrorStream(true);
process = pb.start();

Expand Down

0 comments on commit d80db55

Please sign in to comment.