Skip to content

Commit

Permalink
wait for gradle wrapper to finish and the output "project created"
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrouR committed Oct 9, 2019
1 parent 2f4325b commit 90c7564
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/web3j/console/project/Project.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import java.io.File;
import java.io.IOException;
import java.util.concurrent.TimeUnit;

import static org.web3j.codegen.Console.exitError;

Expand Down Expand Up @@ -80,7 +79,7 @@ private void executeCommand(final File workingDir, final String[] command)
.redirectOutput(ProcessBuilder.Redirect.INHERIT)
.redirectError(ProcessBuilder.Redirect.INHERIT)
.start()
.waitFor(10, TimeUnit.SECONDS);
.waitFor();
}

public Project build() {
Expand Down

0 comments on commit 90c7564

Please sign in to comment.