[Perspective] Opening New Chrome Window From Button

When a script is run from the script console it executes on the computer where the script console is open. When the script runs behind a perspective button, it runs on the gateway. The subprocess.Popen(command) statement runs on the gateway in the scope of the Ignition user. It may be starting a process but only under very unlikely circumstances would a user ever see a new chrome window open. Here is a similar thread that may be helpful.. Executing an external application from Ignition Perspective View

2 Likes