Build with Naz : Explore Linux TTY, process, signals w/ Rust – Part 3/3 (tokio::process::Command)



This video series, related article and repo explore Linux TTY, processes, signals, and more using Rust. The video provides live coding examples of using Rust to use tokio::process::Command to run and control external commands w/ async Rust. This is part 3 of a 3 part series.

Article:

Repo:

Join our discord server if you have questions:

Chapters:
00:00:00 Intro
00:03:43 Dependencies
00:04:29 Ex 1 – Run `echo` process programatically
00:34:16 Ex 2 – Piping input to `cat` process programmatically
01:15:16 Ex 3 – Programmatically provide input to `stdin`, get output from `stdout`
01:41:44 Ex 4 – Programmatically pipe output of one process to another
02:09:30 Ex 5 – Overview of r3bl_terminal_async ex shell_async.rs

[ad_2]

source

Exit mobile version