#include int main() { printf("about to fork\n"); int pid = fork(); printf("returned from fork, result is %d\n", pid); if (pid == 0) { printf("about to exec\n"); int r = execlp("shower", "shower", "abc", "four words in one", NULL); printf("execlp failed, code %d\n", r); exit(1); } int pid2, status; pid2 = wait(& status); printf("process %d exitted, status was %d\n", pid2, status); return 0; }