there is a better method calling: getOutput(exec_result) <--- please replace with it. thanks