# \[Perspective\] Opening New Chrome Window From Button

**URL:** <https://forum.inductiveautomation.com/t/perspective-opening-new-chrome-window-from-button/69340>\
**Category:** Ignition\
**Tags:** perspective, ignition81, scripting\
**Created:** [February 2, 2023, 1:51pm UTC](https://forum.inductiveautomation.com/t/perspective-opening-new-chrome-window-from-button/69340 "2023-02-02T13:51:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mcgheeiv](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mcgheeiv](https://forum.inductiveautomation.com/u/mcgheeiv)\
**Post date:** [February 2, 2023, 2:00pm UTC](https://forum.inductiveautomation.com/t/perspective-opening-new-chrome-window-from-button/69340/4 "2023-02-02T14:00:16Z")

</div>

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](https://forum.inductiveautomation.com/t/executing-an-external-application-from-ignition-perspective-view/68814)

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-opening-new-chrome-window-from-button/69340)._
