this post was submitted on 15 May 2025
80 points (98.8% liked)

Rust

6955 readers
48 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 week ago

Damn, those pipes look useful. Can use them to send stdout from one command to the stdin of another, as you'd expect. But you can also easily send stuff to stdin from Rust code (and of course, easily read from stdout and stderr, too): https://doc.rust-lang.org/stable/std/io/fn.pipe.html#examples