Introduction
Announcements

Schedule
Labs
Assignments
TA office hours

Tests, exam

Topic videos
Some course notes
Extra problems
Lecture recordings

Discussion board

Grades so far

Processes, 7 of 8

[transcript]

[sample code discussed]

Note: As we saw in some earlier videos, the sample code here lacks a required call to perror(). If an exec fails, call perror() with the program you were trying to exec (the first argument to exec), so as to print an error message which will be much more useful to the user of your program than a generic error message which doesn't say what actually went wrong.

(And exit with exit status 1, not 0.)


All videos in this unit:

All units (so far):

Overall course schedule: