Is there a way to get the response from a system.util.execute command? I have a gateway script that exports data to a file, then uses an AWS CLI command to copy the file to an AWS server. Is there a way to record the response to that command (stdout)? When executing the command in a command window, I get a confirmation that it copied, or an error if it didn’t. Is there a way to get that response?
No, you’ll have to use Jython or Java standard library calls instead.