# How to run an external script?

**URL:** <https://forum.inductiveautomation.com/t/how-to-run-an-external-script/87108>\
**Category:** Ignition\
**Tags:** vision, scripting\
**Created:** [March 11, 2024, 8:26am UTC](https://forum.inductiveautomation.com/t/how-to-run-an-external-script/87108 "2024-03-11T08:26:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [March 11, 2024, 12:00pm UTC](https://forum.inductiveautomation.com/t/how-to-run-an-external-script/87108/2 "2024-03-11T12:00:23Z")

</div>

You'll want to use `ProcessBuilder` to get the results. Example - [Procedure for installing python libraries from source - #16 by PGriffith](https://forum.inductiveautomation.com/t/procedure-for-installing-python-libraries-from-source/26022/16)

~~My guess though is it has to do with how you are formatting your file paths. I would try `system.util.execute([r'C:/Python/python.exe', r'C:/LoadFlex/GetForecast.py'])` The `/` is an escape character so you either need to do `\\` to make a single `/` or you can put the `'r'` in front to indicate it is a "raw" string and then `\` no longer functions as an escape character.~~ Did not have my coffee yet. I think the forward slashes should be ok. Use process builder and see what you get.

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-run-an-external-script/87108)._
