diff --git a/gcloud-java-datastore/src/test/java/com/google/gcloud/datastore/LocalGcdHelper.java b/gcloud-java-datastore/src/test/java/com/google/gcloud/datastore/LocalGcdHelper.java index f8e11885a62d..cca7e25697f0 100644 --- a/gcloud-java-datastore/src/test/java/com/google/gcloud/datastore/LocalGcdHelper.java +++ b/gcloud-java-datastore/src/test/java/com/google/gcloud/datastore/LocalGcdHelper.java @@ -160,7 +160,7 @@ public void start() throws IOException, InterruptedException { // create the datastore for the project ProcessBuilder processBuilder = new ProcessBuilder() - .redirectErrorStream(true) + .redirectError(ProcessBuilder.Redirect.INHERIT) .directory(new File(gcdFolder, GCD_VERSION)); if (isWindows()) { processBuilder.command("cmd", "/C", "gcd.cmd", "create", "-p", projectId, projectId);