Not able to run process in robot framework


I am running this command from terminal -python -m robot.rebot output.xml
It is giving me report.html and log html in the same directory from where I am executing above command.

Now I have to run that command via process so that in teardown , when I have output.xml file. I should be able to generate report.html and log.html.

Because I need those file to submit via api. As robot includes every steps in report so report.html and log.html is not getting available in test or suite teardown.

So I am trying create both file using command from code step itself but getting error -
C:\RoboScript\Test “python -m robot.rebot output.xml”