mirror of
https://github.com/corda/corda.git
synced 2024-12-25 07:31:10 +00:00
CORDA-742 Test capsule cache directory
This commit is contained in:
parent
e10ed1bdcf
commit
127c862982
@ -176,7 +176,9 @@ open class Cordform : DefaultTask() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun buildNodeProcess(node: Node, logDir: File): Process {
|
private fun buildNodeProcess(node: Node, logDir: File): Process {
|
||||||
return ProcessBuilder("java", "-Dcapsule.log=verbose", "-Dcapsule.dir=./cache", "-jar", Node.nodeJarName, "--just-generate-node-info")
|
val command = listOf("java", "-Dcapsule.log=verbose", "-Dcapsule.dir=./cache", "-jar", Node.nodeJarName, "--just-generate-node-info")
|
||||||
|
println(command.joinToString(" "))
|
||||||
|
return ProcessBuilder(command)
|
||||||
.directory(fullNodePath(node).toFile())
|
.directory(fullNodePath(node).toFile())
|
||||||
.redirectErrorStream(true)
|
.redirectErrorStream(true)
|
||||||
// InheritIO causes hangs on windows due the gradle buffer also not being flushed.
|
// InheritIO causes hangs on windows due the gradle buffer also not being flushed.
|
||||||
|
Loading…
Reference in New Issue
Block a user