How to obtain the results and logs of command line execution.

That is not possible when executed using openrpa.exe directly.
But if you use powershell, you can get the result of the execution ( you can parse an object to the workflow that maps to the arguments and you get an object back mapping all the arguments )
see example here Scheduling Robot