How Do You Read System.out.println from Java Program Called By Pega CLI Invocation?
I have been able to successfully get my Java application to be called and run by Pega. I can also see the exit code in Pega from java's System.exit(int) method. I want to return a JSON String to Pega before the exit is invoked. Can you help me with how to do get the System.out.println(String) of Java to be consumed by Pega?
***Edited by Moderator Marissa to move from Pega Academy to Pega Support Community; update platform capability tags***