New111
12/17/2019, 1:11 PMProcessBuilder("/bin/sh", "-c",
"java -jar $jarName -f $configName ${args.joinToString(" ")} &")
.start()
how can I redirect stdout of the child to stdout of the parent process (so I could see all the messages together) ? The following code using inheritIO
doesn't work:
ProcessBuilder("/bin/sh", "-c",
"java -jar $jarName -f $configName ${args.joinToString(" ")} &")
.inheritIO()
.start()
Any clue where the problem is ? Is it somehow related to the fact that the child process writes to log file ?