# Is there a way to retrieve the system.util.execute response?

**URL:** <https://forum.inductiveautomation.com/t/is-there-a-way-to-retrieve-the-system-util-execute-response/38673>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 14, 2020, 8:36pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-retrieve-the-system-util-execute-response/38673 "2020-09-14T20:36:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![d3h637](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@d3h637](https://forum.inductiveautomation.com/u/d3h637)\
**Post date:** [September 14, 2020, 8:36pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-retrieve-the-system-util-execute-response/38673/1 "2020-09-14T20:36:27Z")

</div>

Is there a way to get the response from a system.util.execute command? I have a gateway script that exports data to a file, then uses an AWS CLI command to copy the file to an AWS server. Is there a way to record the response to that command (stdout)? When executing the command in a command window, I get a confirmation that it copied, or an error if it didn’t. Is there a way to get that response?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 14, 2020, 8:44pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-retrieve-the-system-util-execute-response/38673/2 "2020-09-14T20:44:43Z")

</div>

No, you’ll have to use Jython or Java standard library calls instead.

[https://docs.python.org/2/library/subprocess.html#module-subprocess](https://docs.python.org/2/library/subprocess.html#module-subprocess)

[https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Process.html](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Process.html)
