[Minor] Added a timeout in ProcessHelper

This commit is contained in:
Robert von Burg 2015-12-04 18:19:13 +01:00
parent 3b4d9f3661
commit 4e7063ffde
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class ProcessHelper {
}
public static ProcessResult runCommand(File workingDirectory, String... commandAndArgs) {
return runCommand(1, TimeUnit.MINUTES, workingDirectory, commandAndArgs);
return runCommand(30, TimeUnit.SECONDS, workingDirectory, commandAndArgs);
}
public static ProcessResult runCommand(long timeout, TimeUnit unit, String... commandAndArgs) {