Simplify shell in build.gradle
Dieser Commit ist enthalten in:
Ursprung
dcd2b39e95
Commit
cfa55c8471
@ -116,13 +116,11 @@ def await(Process proc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def shell(String command) {
|
def shell(String command) {
|
||||||
def proc
|
|
||||||
if (operatingSystem == "unix") {
|
if (operatingSystem == "unix") {
|
||||||
proc = ['bash', '-c', command].execute()
|
return ['bash', '-c', command].execute()
|
||||||
} else {
|
} else {
|
||||||
proc = ["cmd", "/c", command].execute()
|
return ["cmd", "/c", command].execute()
|
||||||
}
|
}
|
||||||
return proc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def serverStart(String serverName) {
|
def serverStart(String serverName) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren