User Tools

Site Tools


cs444amp:simple_shell

The Simple Shell program is something we did in CSci 428.

As a primer, do the examples in Command Execution in Rust. One problem: this was written in 2014 and if I remember correctly, when I tried these examples I got compiler errors. My recollection is that Rust streamlined the std::io::process module, so those in the example code are too verbose: including Command should be as easy as using use std::process::Command; instead of what the example code does.

As a second primer, try rewriting some of the simpler examples in Chapter 8 of CS:APP in Rust. Post those.

Then the main event: writing the simple shell from CS:APP in Rust.

cs444amp/simple_shell.txt · Last modified: 2017/12/28 17:24 by scarl