# Not able to run process in robot framework

**URL:** <https://forum.robotframework.org/t/not-able-to-run-process-in-robot-framework/4106>\
**Category:** Robot Framework\
**Created:** [29 June 2022 16:52 UTC](https://forum.robotframework.org/t/not-able-to-run-process-in-robot-framework/4106 "2022-06-29T16:52:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bk-user](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/bk-user/32/1446_2.png) [@bk-user](https://forum.robotframework.org/u/bk-user)\
**Post date:** [29 June 2022 16:52 UTC](https://forum.robotframework.org/t/not-able-to-run-process-in-robot-framework/4106/1 "2022-06-29T16:52:21Z")

</div>

Hi,

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”
