Redirect standard error (copied from Nico's branch).

This commit is contained in:
akwizgran
2022-03-10 23:01:39 +00:00
parent 98963955b1
commit ffe1876337

View File

@@ -254,6 +254,7 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
Map<String, String> env = pb.environment();
env.put("HOME", torDirectory.getAbsolutePath());
pb.directory(torDirectory);
pb.redirectErrorStream(true);
try {
torProcess = pb.start();
} catch (SecurityException | IOException e) {