1
0

Возврат значения из шага cmd

This commit is contained in:
Nikita Gryzlov
2020-04-29 17:04:49 +03:00
parent 515a91dcc1
commit 540b90fceb
4 changed files with 29 additions and 5 deletions

View File

@@ -5,5 +5,5 @@ int call(String script, boolean returnStatus = false) {
ContextRegistry.registerDefaultContext(this)
def cmd = new Cmd(script, returnStatus)
cmd.run()
return cmd.run()
}