# How to read from a process stdout without it blocking?

**URL:** <https://ziggit.dev/t/how-to-read-from-a-process-stdout-without-it-blocking/5880>\
**Category:** Help\
**Tags:** standard-library\
**Created:** [September 4, 2024, 3:31pm UTC](https://ziggit.dev/t/how-to-read-from-a-process-stdout-without-it-blocking/5880 "2024-09-04T15:31:26Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![dee0xeed](https://ziggit.dev/letter_avatar_proxy/v4/letter/d/3ab097/32.png) [@dee0xeed](https://ziggit.dev/u/dee0xeed)\
**Post date:** [September 5, 2024, 7:59am UTC](https://ziggit.dev/t/how-to-read-from-a-process-stdout-without-it-blocking/5880/14 "2024-09-05T07:59:41Z")

</div>

> [@markus](#):
>
> I need this to be crossplatform (windows and linux)

Then `select()` is probably your choice (see also [this comment](https://ziggit.dev/t/iofthetiger/3065/51)). But I am not sure if this is really good advice.

---

_[View the full topic](https://ziggit.dev/t/how-to-read-from-a-process-stdout-without-it-blocking/5880)._
