I have a monkeyrunner code (file extension is .py) which is working fine. I am using CentOS. Now, I need to run a an external program and I need to insert that code in the monkeyrunner code. how do I do it? What do I need to import and what is the command?
Asked
Active
Viewed 243 times
2 Answers
0
import subprocess
# Your code ...
# Call the external program/ script:
subprocess.call('your script', shell = True)

Gabriel Porumb
- 1,661
- 1
- 12
- 21