Added fail parameter.
This commit is contained in:
parent
ecbe481de6
commit
e39200912b
5 changed files with 29 additions and 27 deletions
|
@ -37,7 +37,7 @@ val p = project {
|
|||
}
|
||||
|
||||
exec {
|
||||
commandLine(args = arrayOf("ls", "-- a"), dir = "../libs", fail = arrayOf(Fail.EXIT))
|
||||
commandLine(arrayOf("cmd", "/c", "echo", "Test"), os = arrayOf("Win"), fail = arrayOf(Fail.STDERR))
|
||||
commandLine(args = listOf("ls", "-- a"), dir = "../libs", fail = setOf(Fail.STDERR, Fail.EXIT))
|
||||
commandLine(listOf("cmd", "/c", "echo", "Test"), os = listOf("Win"), fail = setOf(Fail.STDERR, Fail.EXIT))
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue