diff --git a/build.gradle b/build.gradle index b6d3387..88fd0d7 100644 --- a/build.gradle +++ b/build.gradle @@ -116,13 +116,11 @@ def await(Process proc) { } def shell(String command) { - def proc if (operatingSystem == "unix") { - proc = ['bash', '-c', command].execute() + return ['bash', '-c', command].execute() } else { - proc = ["cmd", "/c", command].execute() + return ["cmd", "/c", command].execute() } - return proc } def serverStart(String serverName) {