AnsweredAssumed Answered

Get console output of shell command and email

Question asked by kperf on Nov 2, 2014
Latest reply on Nov 14, 2014 by Dave_Kellermanns_44
have a shell script that returns some console out put which I can see in the Report.

I created a post process with this script

The first PRINT $RET# statement prints the console output to the post process report, the second PRINT &RET# statement returns the last line of the Report only.

I would like to put all of the returned values of the &RET#  variable into the body of a email message.

what is the best way to execute a shell command (ls for example) and return the result to the body of an email message?