Running External Python Scripts using System.util.execute

In one of the forum replies it was said that you can use System.util.execute to run external Python Scripts.
How can this be done? and Can I use the functions to change tags in this external Scripts?

Best regards
-Prasad

The system.util.execute functions is meant for executing commands via the operating system. This could include running Python scripts outside of Ignition, provided Python is installed on whatever client you’re trying to run system.util.execute on.

One important note: The program that you are running from system.util.execute runs in a seperate thread, and does not have the ability to send information back to your Ignition Client. There is an example in the user manual that shows a typical usage.

From the user manual:

This code would work on a Windows system to play a sound file.

system.util.execute([“sndrec32”, “/play”, “/close”, “/embedding”, “C:\somethingwrong.wav”])

The only way to actually add new scripting functions to Ignition is to create your own Ignition Module. See this forum post for more information on that http://www.inductiveautomation.com/forum/viewtopic.php?f=81&t=6646

Hope this helps to clarify the issue.