# Using subprocess to read from stdout

**URL:** <https://forum.inductiveautomation.com/t/using-subprocess-to-read-from-stdout/73041>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [April 28, 2023, 6:48pm UTC](https://forum.inductiveautomation.com/t/using-subprocess-to-read-from-stdout/73041 "2023-04-28T18:48:27Z")\
**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:** [April 28, 2023, 6:58pm UTC](https://forum.inductiveautomation.com/t/using-subprocess-to-read-from-stdout/73041/2 "2023-04-28T18:58:41Z")

</div>

If snmpget is not in your paths I don't think just calling it like that would work but instead you would need the full path like `C:\Some\Path\bin\snmpget`. But I don't know that that is your issue here. Regardless I would suggest trying to use `ProcessBuilder` instead to get data out of calling a process, it seems to work a bit better - [Procedure for installing python libraries from source - #16 by PGriffith](https://forum.inductiveautomation.com/t/procedure-for-installing-python-libraries-from-source/26022/16)

How does it go if you use the full path?

---

_[View the full topic](https://forum.inductiveautomation.com/t/using-subprocess-to-read-from-stdout/73041)._
