Hi all, give the following code: ```ProcessBuilder...
# getting-started
n
Hi all, give the following code:
Copy code
ProcessBuilder("/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:
Copy code
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 ?