Running a Command and Saving Its Output to File in Rust
I had an issue: I needed to run a command inside Rust, but I needed that all its output should go to a file, and I needed to check if there were certain phrases in it.
I had an issue: I needed to run a command inside Rust, but I needed that all its output should go to a file, and I needed to check if there were certain phrases in it.
How to spawn an external command and give it a timeout in Rust, with Tokio
I recently wrote an application for work (so, sorry, can't show you the code) that, 'cause it was heavily I/O based, I decided to write it using Tokio and the idea of Actor Model with it.
... which gave me some things to think about.
I had some issue recently with Rust iterators, and that led me to think a lot about iterators in Rust.
For a while, I've been talking about Rust, making presentations, going to meetups...
But a few months back I had the opportunity to finally work in a real project in Rust.
So, how was it?
When I switched from Fedora to
Silverblue, I got used to use
toolbox
to check for packages and whatnot. But when I needed to test a
project in multiple distributions, I decided it was time to explore Toolbx a
little deeper.